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

List:       kde-commits
Subject:    KDE/kdebase/workspace/kwin
From:       Thomas Lübking <thomas.luebking () gmail ! com>
Date:       2010-12-21 14:34:45
Message-ID: 20101221143445.BC48AAC8AA () svn ! kde ! org
[Download RAW message or body]

SVN commit 1208406 by luebking:

logic error. re-allow plain moves, sorry :-\
BUG: 260847


 M  +1 -4      geometry.cpp  


--- trunk/KDE/kdebase/workspace/kwin/geometry.cpp #1208405:1208406
@@ -1695,6 +1695,7 @@
 
 void Client::configureRequest( int value_mask, int rx, int ry, int rw, int rh, int \
gravity, bool from_tool )  {
+    qDebug() << maximizeMode() << MaximizeFull;
     if ( maximizeMode() == MaximizeFull) // bugs #158974, #252314
         return; // "maximized" is a user setting -> we do not allow the client to \
resize itself away from this & against the user wish  
@@ -1728,9 +1729,6 @@
         QSize ns = sizeForClientSize( QSize( nw, nh ) ); // enforces size if needed
         new_pos = rules()->checkPosition( new_pos );
 
-        // TODO what to do with maximized windows?
-        if ( ns != size())
-            {
             QRect orig_geometry = geometry();
             GeometryUpdatesBlocker blocker( this );
             move( new_pos );
@@ -1749,7 +1747,6 @@
             if (hasStrut ())
                 workspace() -> updateClientArea ();
             }
-        }
 
     if ( value_mask & (CWWidth | CWHeight )
         && ! ( value_mask & ( CWX | CWY )) )  // pure resize


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

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