diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-04-22 02:12:32 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-04-22 02:12:32 +0000 |
| commit | a5caab959cc5d99ed570d7346fd022e32900c103 (patch) | |
| tree | 4541de3f59ba0fc2d64facb9f270d2860cda24e9 /openbox/grab.c | |
| parent | 05d1a86efff83851018ebf58a1f14035fa725d02 (diff) | |
ignore crossing events while an interactive grab is going on.
when a menu is open, use the crossing events for the menu only.
Diffstat (limited to 'openbox/grab.c')
| -rw-r--r-- | openbox/grab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/grab.c b/openbox/grab.c index a8a6200e..9b19906a 100644 --- a/openbox/grab.c +++ b/openbox/grab.c @@ -72,7 +72,7 @@ gboolean grab_keyboard(gboolean grab) if (grab) { if (kgrabs++ == 0) { ret = XGrabKeyboard(ob_display, RootWindow(ob_display, ob_screen), - FALSE, GrabModeAsync, GrabModeAsync, + False, GrabModeAsync, GrabModeAsync, event_curtime) == Success; if (!ret) --kgrabs; |
