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

List:       kde-commits
Subject:    kdebase/kicker/buttons
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2003-04-15 18:20:31
[Download RAW message or body]

CVS commit by lunakl: 

Nice one, it took me more than two hours to find out why Kicker's popups
don't have keyboard grab -> release the grab only when it's your grab.
CCMAIL: ellis@kde.org


  M +1 -1      kbutton.cpp   1.12


--- kdebase/kicker/buttons/kbutton.cpp  #1.11:1.12
@@ -114,5 +114,5 @@ bool KButton::x11Event( XEvent* event )
     }
 
-    else if (event->type == KeyRelease) {
+    else if (event->type == KeyRelease && s_bWatching) {
         XUngrabKeyboard( qt_xdisplay(), event->xkey.time );
         //releaseKeyboard();


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

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