Fixed a bug for KWin reported on http://bugs.kde.org with the bug no.

226423

BUG: 226423
CCMAIL: l.lunak@kde.org


svn path=/trunk/KDE/kdebase/workspace/; revision=1130648
This commit is contained in:
Rohan Ramdas Prabhu 2010-05-25 21:40:14 +00:00
parent cfce13e615
commit 92460322ab

View file

@ -401,8 +401,9 @@ QPoint Workspace::adjustClientPosition( Client* c, QPoint pos, bool unrestricted
QList<Client *>::ConstIterator l;
for (l = clients.constBegin();l != clients.constEnd();++l )
{
if ((*l)->isOnDesktop(c->desktop()) &&
!(*l)->isMinimized()
if ((((*l)->isOnDesktop(c->desktop()) && !(*l)->isMinimized())
|| (c->isOnDesktop(NET::OnAllDesktops) && (*l)->isOnDesktop(Workspace::currentDesktop())
&& !(*l)->isMinimized()))
&& (!(*l)->clientGroup() || (*l) == (*l)->clientGroup()->visible())
&& (*l) != c )
{