From b636feb8eb5784be21f9eccbfa0d34d569a54956 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 26 Jan 2017 20:33:59 +0100 Subject: [PATCH] Disable standard actions on VirtualKeyboard SNI Summary: We don't want a context-menu entry to quit KWin. T5168 Test Plan: No more context menu shown. Reviewers: #kwin, #plasma_on_wayland Subscribers: plasma-devel, kwin Tags: #plasma_on_wayland, #kwin Differential Revision: https://phabricator.kde.org/D4299 --- virtualkeyboard.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/virtualkeyboard.cpp b/virtualkeyboard.cpp index 36410700ed..ec8251b646 100644 --- a/virtualkeyboard.cpp +++ b/virtualkeyboard.cpp @@ -91,6 +91,7 @@ void VirtualKeyboard::init() } m_sni = new KStatusNotifierItem(QStringLiteral("kwin-virtual-keyboard"), this); + m_sni->setStandardActionsEnabled(false); m_sni->setCategory(KStatusNotifierItem::Hardware); m_sni->setStatus(KStatusNotifierItem::Passive); m_sni->setTitle(i18n("Virtual Keyboard"));