]> Dogcows Code - chaz/openbox/blobdiff - openbox/menuframe.c
use the NONE cursor when not specifying one
[chaz/openbox] / openbox / menuframe.c
index 030f38bd0706feba6dfd242aa8eeaf12f02b57d5..6671107c8f41b169336bf28def8034976db11796 100644 (file)
@@ -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);
     }
 
This page took 0.021507 seconds and 4 git commands to generate.