X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fmenuframe.h;h=87a718e79fbf377bb44492ce618a75a1f547dcf1;hb=7aae8cc5262c1b36e3196845d62489b76af9063f;hp=daac34d2d2803860be63baa8094a23eba106b8f0;hpb=5563e251c36a1fbda703cf4bc3c8c6ae543829bd;p=chaz%2Fopenbox diff --git a/openbox/menuframe.h b/openbox/menuframe.h index daac34d2..87a718e7 100644 --- a/openbox/menuframe.h +++ b/openbox/menuframe.h @@ -22,7 +22,7 @@ #include "geom.h" #include "window.h" -#include "render/render.h" +#include "obrender/render.h" #include @@ -53,6 +53,9 @@ struct _ObMenuFrame GList *entries; ObMenuEntryFrame *selected; + /* if a submenu was selected, then this holds the entry for that submenu + until it is closed */ + ObMenuEntryFrame *open_submenu; /* show entries from the menu starting at this index */ guint show_from; @@ -117,7 +120,7 @@ gboolean menu_frame_show_topmenu(ObMenuFrame *self, gint x, gint y, gboolean menu_frame_show_submenu(ObMenuFrame *self, ObMenuFrame *parent, ObMenuEntryFrame *parent_entry); -void menu_frame_hide_all(); +void menu_frame_hide_all(void); void menu_frame_hide_all_client(struct _ObClient *client); void menu_frame_render(ObMenuFrame *self);