if grab fails dont set grabbed_key
This commit is contained in:
parent
d3dd25a55c
commit
2052385333
1 changed files with 1 additions and 2 deletions
|
@ -238,9 +238,8 @@ static void event(ObEvent *e, void *foo)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (act->func == action_cycle_windows &&
|
if (act->func == action_cycle_windows &&
|
||||||
!grabbed_key) {
|
!grabbed_key && grab_keyboard(TRUE)) {
|
||||||
grabbed_key = p;
|
grabbed_key = p;
|
||||||
grab_keyboard(TRUE);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
act->data.any.c = focus_client;
|
act->data.any.c = focus_client;
|
||||||
|
|
Loading…
Reference in a new issue