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
This commit is contained in:
parent
de444194ed
commit
b636feb8eb
1 changed files with 1 additions and 0 deletions
|
@ -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"));
|
||||
|
|
Loading…
Reference in a new issue