diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-10-11 16:19:17 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-10-11 16:19:17 +0000 |
| commit | 055aa5cd7411c4563956e376523219afc6198ce1 (patch) | |
| tree | 9211d671f2cf93de77c8ed162aab44e982b3b5a0 /openbox/action.c | |
| parent | 7ca410e66357706e36ea740b49d899be832da671 (diff) | |
gracefully handle grabs failing when doing interactive actions
Diffstat (limited to 'openbox/action.c')
| -rw-r--r-- | openbox/action.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/action.c b/openbox/action.c index 35a649b0..5f8b306f 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -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); |
