Do not pass input to windows that are not painted
Passing input to windows that we do not paint is confusing as what happens is different from what is visible on the screen.
This commit is contained in:
parent
141f627413
commit
09f786a209
1 changed files with 3 additions and 0 deletions
|
@ -2657,6 +2657,9 @@ Toplevel *InputRedirection::findManagedToplevel(const QPoint &pos)
|
|||
if (!t->readyForPainting()) {
|
||||
continue;
|
||||
}
|
||||
if (!t->effectWindow()->isPaintingEnabled()) {
|
||||
continue;
|
||||
}
|
||||
if (isScreenLocked) {
|
||||
if (!t->isLockScreen() && !t->isInputMethod()) {
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue