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
icc-effect-5.14.5
Martin Flöser 2018-01-03 21:14:24 +01:00
parent f5f1f6ceb4
commit 6ab625ed97
1 changed files with 3 additions and 0 deletions

View File

@ -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<QWindow>(w);
found = true;
break;