[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:       2004-03-06 15:21:14
Message-ID: 20040306152114.DA77B90C9 () office ! kde ! org
[Download RAW message or body]

CVS commit by montanaro: 

Fixed double-click on the window border behaviour.
It incorrectly triggered the titlebar double-click action.


  M +4 -2      b2client.cpp   1.65


--- kdebase/kwin/clients/b2/b2client.cpp  #1.64:1.65
@@ -1192,7 +1192,9 @@ void B2Titlebar::paintEvent(QPaintEvent 
 }
 
-void B2Titlebar::mouseDoubleClickEvent( QMouseEvent * )
+void B2Titlebar::mouseDoubleClickEvent(QMouseEvent *e)
 {
+    if (e->y() < height()) {
     client->titlebarDblClickOperation();
+    }
 }
 


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

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