ungrab keys before grabbnig keys at the next chain level
Dana Jansens danakj@orodu.net
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
openbox/keyboard.c
→
openbox/keyboard.c
@@ -73,6 +73,7 @@ {
ob_main_loop_timeout_remove(ob_main_loop, chain_timeout); if (curpos) { + grab_keys(FALSE); curpos = NULL; grab_keys(TRUE); }@@ -208,6 +209,7 @@ ob_main_loop_timeout_remove(ob_main_loop, chain_timeout);
/* 5 second timeout for chains */ ob_main_loop_timeout_add(ob_main_loop, 5 * G_USEC_PER_SEC, chain_timeout, NULL, NULL); + grab_keys(FALSE); curpos = p; grab_keys(TRUE); } else {