From 5bfa48dcffec3b00d119d851cb2427a43f80aa7b Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 18 Feb 2008 15:55:59 -0500 Subject: Grab key bindings with GrabModeSync, so that if they lead to a keyboard grab, then no keyboard events will be lost between the initial keybinding and the keyboard grab. --- 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 43e9a815..214666e5 100644 --- a/openbox/grab.c +++ b/openbox/grab.c @@ -222,7 +222,7 @@ void ungrab_passive_key(void) { /*ob_debug("ungrabbing %d passive grabs\n", passive_count);*/ if (passive_count) { - /* kill out passive grab */ + /* kill our passive grab */ XUngrabKeyboard(ob_display, event_curtime); passive_count = 0; } -- cgit v1.2.3