]> Dogcows Code - chaz/openbox/commitdiff
None instead of TRUE/FALSE to XGrabPointer (?)
authorMikael Magnusson <mikachu@comhem.se>
Sat, 30 Oct 2004 19:36:40 +0000 (19:36 +0000)
committerMikael Magnusson <mikachu@comhem.se>
Sat, 30 Oct 2004 19:36:40 +0000 (19:36 +0000)
openbox/grab.c

index 91f7915cbe7b5661575918fbdedf308336482197..1515a3a9932411bd8a2cfefc3017e19082ed2aa8 100644 (file)
@@ -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)
This page took 0.0248699999999999 seconds and 4 git commands to generate.