]> Dogcows Code - chaz/openbox/commitdiff
once in a window-cycle, don't fire any other key bindings
authorDana Jansens <danakj@orodu.net>
Mon, 7 Apr 2003 03:47:23 +0000 (03:47 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 7 Apr 2003 03:47:23 +0000 (03:47 +0000)
plugins/keyboard/keyboard.c

index 81809649848b74766b6a8ca255660f1f4b99055b..ef36717294e97ca58d6d3244ad70176faa182cdc 100644 (file)
@@ -149,7 +149,9 @@ static void event(ObEvent *e, void *foo)
                             p->action->data.cycle.cancel = FALSE;
                         }
 
-                        p->action->func(&p->action->data);
+                        if (!grabbed_key ||
+                            p->action->func == action_cycle_windows)
+                            p->action->func(&p->action->data);
 
                         if (p->action->func == action_cycle_windows &&
                             !grabbed_key) {
This page took 0.024026 seconds and 4 git commands to generate.