Don't send keyboard events to QWindows which have outputOnly property set
Summary: PlasmaCore.Dialog has a property outputOnly. This is for example used in KWin's OnScreenNotification. If that property is set KWin should not send any key events to it, just like for windows with _q_showWithoutActivating. BUG: 388112 Test Plan: Not yet Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #plasma Differential Revision: https://phabricator.kde.org/D9618
This commit is contained in:
parent
196423d267
commit
f5f1f6ceb4
1 changed files with 3 additions and 0 deletions
|
@ -819,6 +819,9 @@ class InternalWindowEventFilter : public InputEventFilter {
|
||||||
if (w->property("_q_showWithoutActivating").toBool()) {
|
if (w->property("_q_showWithoutActivating").toBool()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if (w->property("outputOnly").toBool()) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
found = w;
|
found = w;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue