From ed9dc5dc788e3d0e79fa5010265ba9ce57ea6859 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 3 Sep 2003 20:34:43 +0000 Subject: use the NONE cursor when not specifying one --- openbox/grab.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'openbox/grab.c') diff --git a/openbox/grab.c b/openbox/grab.c index 599fb681..5df654c6 100644 --- a/openbox/grab.c +++ b/openbox/grab.c @@ -111,8 +111,8 @@ void grab_startup() void grab_shutdown() { while (grab_keyboard(FALSE)); - while (grab_pointer(FALSE, None)); - while (grab_pointer_window(FALSE, None, None)); + while (grab_pointer(FALSE, OB_CURSOR_NONE)); + while (grab_pointer_window(FALSE, OB_CURSOR_NONE, None)); while (grab_server(FALSE)); } @@ -133,7 +133,7 @@ void grab_button_full(guint button, guint state, Window win, guint mask, void grab_button(guint button, guint state, Window win, guint mask) { - grab_button_full(button, state, win, mask, GrabModeAsync, None); + grab_button_full(button, state, win, mask, GrabModeAsync, OB_CURSOR_NONE); } void ungrab_button(guint button, guint state, Window win) -- cgit v1.2.3