From efb6055fc0e2a4df6b31837c869649bdec98dcb0 Mon Sep 17 00:00:00 2001 From: Lucas Murray Date: Mon, 16 Nov 2009 02:42:12 +0000 Subject: [PATCH] Fix window snapping. svn path=/trunk/KDE/kdebase/workspace/; revision=1049888 --- geometry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geometry.cpp b/geometry.cpp index 239b1d5d97..0b9ea1286c 100644 --- a/geometry.cpp +++ b/geometry.cpp @@ -402,7 +402,7 @@ QPoint Workspace::adjustClientPosition( Client* c, QPoint pos, bool unrestricted { if ((*l)->isOnDesktop(c->desktop()) && !(*l)->isMinimized() - && (!(*l)->clientGroup() || (*l) != (*l)->clientGroup()->visible()) + && (!(*l)->clientGroup() || (*l) == (*l)->clientGroup()->visible()) && (*l) != c ) { lx = (*l)->x();