[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/kwin
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2005-06-14 15:36:37
Message-ID: 1118763397.203726.6200.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 425378 by lunakl:

Let's say this simply doesn't work with shaded windows.



 M  +4 -4      placement.cpp  


--- trunk/KDE/kdebase/kwin/placement.cpp #425377:425378
@@ -567,7 +567,7 @@
 
 void Client::growHorizontal()
     {
-    if( !isResizable())
+    if( !isResizable() || isShade())
         return;
     QRect geom = geometry();
     geom.setRight( workspace()->packPositionRight( this, geom.right(), true ));
@@ -593,7 +593,7 @@
 
 void Client::shrinkHorizontal()
     {
-    if( !isResizable())
+    if( !isResizable() || isShade())
         return;
     QRect geom = geometry();
     geom.setRight( workspace()->packPositionLeft( this, geom.right(), false ));
@@ -612,7 +612,7 @@
 
 void Client::growVertical()
     {
-    if( !isResizable())
+    if( !isResizable() || isShade())
         return;
     QRect geom = geometry();
     geom.setBottom( workspace()->packPositionDown( this, geom.bottom(), true ));
@@ -638,7 +638,7 @@
 
 void Client::shrinkVertical()
     {
-    if( !isResizable())
+    if( !isResizable() || isShade())
         return;
     QRect geom = geometry();
     geom.setBottom( workspace()->packPositionUp( this, geom.bottom(), false ));
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic