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
This commit is contained in:
parent
f5f1f6ceb4
commit
6ab625ed97
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue