]> Dogcows Code - chaz/openbox/commitdiff
had some code inside the action for loop that didnt belong in there
authorDana Jansens <danakj@orodu.net>
Fri, 23 May 2003 01:26:39 +0000 (01:26 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 23 May 2003 01:26:39 +0000 (01:26 +0000)
plugins/keyboard/keyboard.c

index b67e738b7009a70d72d6ff859bad1f21c521a66b..5991606adc52e8514179589653214f896b87cb0a 100644 (file)
@@ -117,11 +117,11 @@ static void event(ObEvent *e, void *foo)
                 Action *act = it->data;
                 act->data.cycle.final = TRUE;
                 act->func(&act->data);
-                grabbed_key = NULL;
-                grab_keyboard(FALSE);
-                reset_chains();
-                return;
             }
+            grabbed_key = NULL;
+            grab_keyboard(FALSE);
+            reset_chains();
+            return;
         }
     }
     if (e->type == Event_X_KeyRelease)
This page took 0.023957 seconds and 4 git commands to generate.