From a5caab959cc5d99ed570d7346fd022e32900c103 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 22 Apr 2007 02:12:32 +0000 Subject: ignore crossing events while an interactive grab is going on. when a menu is open, use the crossing events for the menu only. --- openbox/grab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/grab.c') 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; -- cgit v1.2.3