From: Dana Jansens Date: Mon, 7 Apr 2003 03:47:23 +0000 (+0000) Subject: once in a window-cycle, don't fire any other key bindings X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=49f31c07429e0f1dbc282110d207bd8a862af55b;p=chaz%2Fopenbox once in a window-cycle, don't fire any other key bindings --- diff --git a/plugins/keyboard/keyboard.c b/plugins/keyboard/keyboard.c index 81809649..ef367172 100644 --- a/plugins/keyboard/keyboard.c +++ b/plugins/keyboard/keyboard.c @@ -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) {