https://bugs.kde.org/show_bug.cgi?id=360841

--- Comment #46 from Bastian Beischer <bastian.beisc...@rwth-aachen.de> ---
I have tested this patch:

diff --git a/scripting/workspace_wrapper.cpp b/scripting/workspace_wrapper.cpp
index 461e0546c..269a72743 100644
--- a/scripting/workspace_wrapper.cpp
+++ b/scripting/workspace_wrapper.cpp
@@ -64,6 +64,7 @@ WorkspaceWrapper::WorkspaceWrapper(QObject* parent) :
QObject(parent)
             emit numberScreensChanged(currentCount);
         }
     );
+    QApplication::desktop()->winId();
     connect(QApplication::desktop(), SIGNAL(resized(int)),
SIGNAL(screenResized(int)));
     foreach (KWin::Client *client, ws->clientList()) {
         setupClientConnections(client);

and it fixes the issue indeed!

Good work!

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to