From 454f704647798ad9d83df66af0f8c70157774caa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Mon, 14 Sep 2015 17:09:07 +0200 Subject: [PATCH] desktop grid: set desktop when moving stickies Notably on presentwindows invocation, there would be no point in moving the window otherwise itfp --- effects/desktopgrid/desktopgrid.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/effects/desktopgrid/desktopgrid.cpp b/effects/desktopgrid/desktopgrid.cpp index 6d13feb7da..e05a225315 100644 --- a/effects/desktopgrid/desktopgrid.cpp +++ b/effects/desktopgrid/desktopgrid.cpp @@ -504,8 +504,7 @@ void DesktopGridEffect::windowInputMouseEvent(QEvent* e) effects->moveWindow(windowMove, unscalePos(me->pos(), NULL) + windowMoveDiff, true, 1.0 / scale[screen]); } if (d != highlightedDesktop) { - if (!windowMove->isOnAllDesktops()) - effects->windowToDesktop(windowMove, d); // Not true all desktop move + effects->windowToDesktop(windowMove, d); // Not true all desktop move const int screen = effects->screenNumber(me->pos()); if (screen != windowMove->screen()) effects->windowToScreen(windowMove, screen);