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);