]> Dogcows Code - chaz/openbox/blobdiff - openbox/action.c
gracefully handle grabs failing when doing interactive actions
[chaz/openbox] / openbox / action.c
index 35a649b0c50982e57e2cd8eaaf827f5d4b865d17..5f8b306fb1591b8448de8190795bb04e8949eb18 100644 (file)
@@ -946,7 +946,8 @@ void action_run_list(GSList *acts, ObClient *c, ObFrameContext context,
                 a->data.inter.cancel = cancel;
                 a->data.inter.final = done;
                 if (!(cancel || done))
-                    keyboard_interactive_grab(state, a->data.any.c, a);
+                    if (!keyboard_interactive_grab(state, a->data.any.c, a))
+                        continue;
 
                 /* interactive actions are not queued */
                 a->func(&a->data);
This page took 0.022838 seconds and 4 git commands to generate.