window snapping for all windows, including dialogs (suggestion by Melchior Franz)
svn path=/trunk/kdebase/kwin/; revision=93936
This commit is contained in:
parent
306ad95df5
commit
d9a7551774
1 changed files with 7 additions and 3 deletions
|
@ -2832,7 +2832,11 @@ QPoint Workspace::adjustClientPosition( Client* c, QPoint pos )
|
|||
for (l = clients.begin();l != clients.end();++l )
|
||||
{
|
||||
if ((*l)->isOnDesktop(currentDesktop()) && (*l) != desktop_client &&
|
||||
!(*l)->isIconified() && (*l)->transientFor() == None && (*l) != c )
|
||||
!(*l)->isIconified()
|
||||
#if 0
|
||||
&& (*l)->transientFor() == None
|
||||
#endif
|
||||
&& (*l) != c )
|
||||
{
|
||||
lx = (*l)->x();
|
||||
ly = (*l)->y();
|
||||
|
|
Loading…
Reference in a new issue