diff options
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/grab.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) |
