From 49f31c07429e0f1dbc282110d207bd8a862af55b Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 7 Apr 2003 03:47:23 +0000 Subject: [PATCH] once in a window-cycle, don't fire any other key bindings --- plugins/keyboard/keyboard.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) { -- 2.45.2