Don't pass pointer focus to a Toplevel which is not yet ready for painting

This commit is contained in:
Martin Gräßlin 2015-05-18 15:30:10 +02:00
parent 0dda7b3f94
commit 0853445dce

View file

@ -775,6 +775,9 @@ Toplevel *InputRedirection::findToplevel(const QPoint &pos)
continue;
}
}
if (!t->readyForPainting()) {
continue;
}
if (t->geometry().contains(pos)) {
return t;
}