once in a window-cycle, don't fire any other key bindings

This commit is contained in:
Dana Jansens 2003-04-07 03:47:23 +00:00
parent db086ef336
commit 49f31c0742

View file

@ -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) {