From 6ab625ed9770feae1924f43969ea63c5ef5ef0f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Fl=C3=B6ser?= Date: Wed, 3 Jan 2018 21:14:24 +0100 Subject: [PATCH] Ignore outputOnly QWindows for pointer and touch events Summary: The idea is to be output only, so also ignore for pointer and touch. This is similar to the previous commit for keyboard events. BUG: 386954 Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #plasma Differential Revision: https://phabricator.kde.org/D9647 --- input.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/input.cpp b/input.cpp index 413ef705b6..4778390e99 100644 --- a/input.cpp +++ b/input.cpp @@ -2156,6 +2156,9 @@ void InputDeviceHandler::updateInternalWindow(const QPointF &pos) if (!mask.isEmpty() && !mask.contains(pos.toPoint())) { continue; } + if (w->property("outputOnly").toBool()) { + continue; + } m_internalWindow = QPointer(w); found = true; break;