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

List:       kde-commits
Subject:    kdebase/kwin/clients/b2
From:       Luciano Montanaro <mikelima () virgilio ! it>
Date:       2003-10-19 9:26:34
[Download RAW message or body]

CVS commit by montanaro: 

I committed too hastily. This patche is the good one!


  M +3 -2      b2client.cpp   1.54


--- kdebase/kwin/clients/b2/b2client.cpp  #1.53:1.54
@@ -1218,5 +1218,5 @@ void B2Titlebar::mousePressEvent( QMouse
         moveOffset = e->globalPos();
     } else {
-        client->processMousePressEvent(e);
+        e->ignore();
     }
 }
@@ -1224,5 +1224,6 @@ void B2Titlebar::mousePressEvent( QMouse
 void B2Titlebar::mouseReleaseEvent( QMouseEvent * e )
 {
-    shift_move = false;
+    if (shift_move) shift_move = false;
+    else e->ignore();
 }
 


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

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