From ad80e31e6af821988a3780a2dd1b42290b598426 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Wed, 10 Jun 2015 20:31:41 +0200 Subject: [PATCH] [wayland] Reset ShellClient::m_unmapped before calling setReadyForPainting m_unmapped determines whether the ShellClient wantsInput. This is used by the ScriptingModel to check whether a ShellClient should be included. It gets triggered by windowShonw signal called from setReadyFromPainting. If m_unmapped is still true at that point the ScriptingModel doesn't include it. --- shell_client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell_client.cpp b/shell_client.cpp index a5f4a05fda..9f68bd0d93 100644 --- a/shell_client.cpp +++ b/shell_client.cpp @@ -188,9 +188,9 @@ void ShellClient::addDamage(const QRegion &damage) } setGeometry(QRect(position, m_clientSize)); } + m_unmapped = false; setDepth(m_shellSurface->surface()->buffer()->hasAlphaChannel() ? 32 : 24); setReadyForPainting(); - m_unmapped = false; Toplevel::addDamage(damage); }