]> Dogcows Code - chaz/openbox/blobdiff - openbox/menuframe.c
add the showmenu action
[chaz/openbox] / openbox / menuframe.c
index 7bacf02068e48a9a6e45b795136a4509dcf53716..4cdf6a37a46f9419b4fbdc29910d1841a474c97f 100644 (file)
@@ -941,7 +941,7 @@ static gboolean menu_frame_show(ObMenuFrame *self)
 }
 
 gboolean menu_frame_show_topmenu(ObMenuFrame *self, gint x, gint y,
-                                 gint button)
+                                 gboolean mouse)
 {
     gint px, py;
     guint i;
@@ -963,7 +963,7 @@ gboolean menu_frame_show_topmenu(ObMenuFrame *self, gint x, gint y,
     }
 
     if (self->menu->place_func)
-        self->menu->place_func(self, &x, &y, button, self->menu->data);
+        self->menu->place_func(self, &x, &y, mouse, self->menu->data);
     else
         menu_frame_place_topmenu(self, &x, &y);
 
This page took 0.022353 seconds and 4 git commands to generate.