Don't pass pointer focus to a Toplevel which is not yet ready for painting
This commit is contained in:
parent
0dda7b3f94
commit
0853445dce
1 changed files with 3 additions and 0 deletions
|
@ -775,6 +775,9 @@ Toplevel *InputRedirection::findToplevel(const QPoint &pos)
|
|||
continue;
|
||||
}
|
||||
}
|
||||
if (!t->readyForPainting()) {
|
||||
continue;
|
||||
}
|
||||
if (t->geometry().contains(pos)) {
|
||||
return t;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue