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

List:       kde-commits
Subject:    branches/KDE/4.4/kdebase/workspace/kwin
From:       Lucas Murray <lmurray () undefinedfire ! com>
Date:       2010-01-09 11:51:32
Message-ID: 1263037892.535376.21380.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1072081 by lmurray:

Backport r1072080:
Don't allow quick tiling for windows that cannot be resized.


 M  +2 -2      events.cpp  


--- branches/KDE/4.4/kdebase/workspace/kwin/events.cpp #1072080:1072081
@@ -1455,7 +1455,7 @@
                 setElectricBorderMaximizing( true );
                 return;
                 }
-            if( options->electricBorderMaximize() &&
+            else if( options->electricBorderMaximize() &&
                 yroot <= screen->geom().y() + 5 && isMaximizable() )
                 {
                 setElectricBorderMode( ElectricMaximizeMode );
@@ -1493,7 +1493,7 @@
     if( !waitingMotionEvent() )
         {
         handleMoveResize( x, y, x_root, y_root );
-        if( isMove() )
+        if( isMove() && isResizable() )
             checkQuickTilingMaximizationZones( x_root, y_root );
         }
     return true;
[prev in list] [next in list] [prev in thread] [next in thread] 

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