From 0853445dceba3e5fabccb47a2e48754aee1cc5b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Mon, 18 May 2015 15:30:10 +0200 Subject: [PATCH] Don't pass pointer focus to a Toplevel which is not yet ready for painting --- input.cpp | 3 +++ 1 file changed, 3 insertions(+) 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; }