diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-08-31 17:33:50 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-08-31 17:33:50 +0000 |
| commit | 89fb38e18da8c0723c1b2be36403f016fd4a2b9f (patch) | |
| tree | f4390da12f29dd7f00b70dd95e6c7486ad5e05d7 /openbox/keyboard.c | |
| parent | 4d9a46bec018d3356611bcbde83202e328e6ae85 (diff) | |
ungrab keys before grabbnig keys at the next chain level
Diffstat (limited to 'openbox/keyboard.c')
| -rw-r--r-- | openbox/keyboard.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbox/keyboard.c b/openbox/keyboard.c index b517014a..ed981240 100644 --- a/openbox/keyboard.c +++ b/openbox/keyboard.c @@ -73,6 +73,7 @@ void keyboard_reset_chains() ob_main_loop_timeout_remove(ob_main_loop, chain_timeout); if (curpos) { + grab_keys(FALSE); curpos = NULL; grab_keys(TRUE); } @@ -208,6 +209,7 @@ void keyboard_event(ObClient *client, const XEvent *e) /* 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 { |
