]> Dogcows Code - chaz/openbox/blobdiff - openbox/menuframe.h
add a client destructor to frame.c so it doesn't try to keep flashing a free'd frame
[chaz/openbox] / openbox / menuframe.h
index f2aa9a0047d483a3cca7ba678d4a56bac2ed1079..83ec7521018af08d18aca5f31e4cc8f668505cad 100644 (file)
@@ -64,6 +64,8 @@ struct _ObMenuFrame
     gint text_x;  /* offset at which the text appears in the items */
     gint text_w;  /* width of the text area in the items */
 
+    gint monitor; /* monitor on which to show the menu in xinerama */
+
     Window title;
     Window items;
 
@@ -103,7 +105,7 @@ void menu_frame_free(ObMenuFrame *self);
 void menu_frame_move(ObMenuFrame *self, gint x, gint y);
 void menu_frame_move_on_screen(ObMenuFrame *self);
 
-void menu_frame_show(ObMenuFrame *self, ObMenuFrame *parent);
+gboolean menu_frame_show(ObMenuFrame *self, ObMenuFrame *parent);
 void menu_frame_hide(ObMenuFrame *self);
 
 void menu_frame_hide_all();
This page took 0.025642 seconds and 4 git commands to generate.