]> Dogcows Code - chaz/openbox/commitdiff
make clicks end inetractive actions but not cancel them ! so annoying !
authorDana Jansens <danakj@orodu.net>
Fri, 4 May 2007 17:57:14 +0000 (17:57 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 4 May 2007 17:57:14 +0000 (17:57 +0000)
openbox/keyboard.c

index 18ca37f72d14aa3f8b66f669d253efcad5d7a424..2c97b93c7ea1ab53fce36a4bc163e64362e991a8 100644 (file)
@@ -248,8 +248,10 @@ gboolean keyboard_process_interactive_grab(const XEvent *e, ObClient **client)
               done = TRUE;
               else */if (e->xkey.keycode == ob_keycode(OB_KEY_ESCAPE))
                   cancel = done = TRUE;
-        } else if (e->type == ButtonPress)
-            cancel = done = TRUE;
+        } else if (e->type == ButtonPress) {
+            cancel = FALSE;
+            done = TRUE;
+        }
 
         if (done) {
             keyboard_interactive_end(e->xkey.state, cancel, e->xkey.time,TRUE);
This page took 0.024107 seconds and 4 git commands to generate.