summaryrefslogtreecommitdiff
path: root/openbox/menuframe.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-09-03 20:34:43 +0000
committerDana Jansens <danakj@orodu.net>2003-09-03 20:34:43 +0000
commited9dc5dc788e3d0e79fa5010265ba9ce57ea6859 (patch)
treedcc77a89a89e13c2d49c5eab068b05900ea52bb1 /openbox/menuframe.c
parent1df4e327607f7dcf56826928efdddb809d8f1fc3 (diff)
use the NONE cursor when not specifying one
Diffstat (limited to 'openbox/menuframe.c')
-rw-r--r--openbox/menuframe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/menuframe.c b/openbox/menuframe.c
index 030f38bd..6671107c 100644
--- a/openbox/menuframe.c
+++ b/openbox/menuframe.c
@@ -564,7 +564,7 @@ void menu_frame_show(ObMenuFrame *self, ObMenuFrame *parent)
if (menu_frame_visible == NULL) {
/* no menus shown yet */
- grab_pointer(TRUE, None);
+ grab_pointer(TRUE, OB_CURSOR_NONE);
grab_keyboard(TRUE);
}
@@ -605,7 +605,7 @@ void menu_frame_hide(ObMenuFrame *self)
if (menu_frame_visible == NULL) {
/* last menu shown */
- grab_pointer(FALSE, None);
+ grab_pointer(FALSE, OB_CURSOR_NONE);
grab_keyboard(FALSE);
}