Commit 6ab625ed authored by Martin Flöser's avatar Martin Flöser

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
parent f5f1f6ce
......@@ -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;
......
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