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