From: Mikael Magnusson Date: Sat, 30 Oct 2004 19:36:40 +0000 (+0000) Subject: None instead of TRUE/FALSE to XGrabPointer (?) X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=b27343a314efa7f42510beaee2c7260a54bbf7ac;p=chaz%2Fopenbox None instead of TRUE/FALSE to XGrabPointer (?) --- diff --git a/openbox/grab.c b/openbox/grab.c index 91f7915c..1515a3a9 100644 --- a/openbox/grab.c +++ b/openbox/grab.c @@ -75,7 +75,7 @@ gboolean grab_pointer(gboolean grab, ObCursor cur) if (pgrabs++ == 0) { ret = XGrabPointer(ob_display, screen_support_win, False, GRAB_PTR_MASK, GrabModeAsync, - GrabModeAsync, FALSE, + GrabModeAsync, None, ob_cursor(cur), event_lasttime) == Success; if (!ret) --pgrabs; @@ -97,7 +97,7 @@ gboolean grab_pointer_window(gboolean grab, ObCursor cur, Window win) if (grab) { if (pgrabs++ == 0) { ret = XGrabPointer(ob_display, win, False, GRAB_PTR_MASK, - GrabModeAsync, GrabModeAsync, TRUE, + GrabModeAsync, GrabModeAsync, None, ob_cursor(cur), event_lasttime) == Success; if (!ret)