Fix window snapping.

svn path=/trunk/KDE/kdebase/workspace/; revision=1049888
This commit is contained in:
Lucas Murray 2009-11-16 02:42:12 +00:00
parent fad5724f33
commit efb6055fc0

View file

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