diff --git a/input.cpp b/input.cpp index 56747715a3..65542b77a6 100644 --- a/input.cpp +++ b/input.cpp @@ -775,6 +775,9 @@ Toplevel *InputRedirection::findToplevel(const QPoint &pos) continue; } } + if (!t->readyForPainting()) { + continue; + } if (t->geometry().contains(pos)) { return t; }