Commit f5f1f6ce authored by Martin Flöser's avatar Martin Flöser

Don't send keyboard events to QWindows which have outputOnly property set

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:
parent 196423d2
......@@ -819,6 +819,9 @@ class InternalWindowEventFilter : public InputEventFilter {
if (w->property("_q_showWithoutActivating").toBool()) {
if (w->property("outputOnly").toBool()) {
found = w;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment