summaryrefslogtreecommitdiff
path: root/openbox/menu.h
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/menu.h')
-rw-r--r--openbox/menu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbox/menu.h b/openbox/menu.h
index 2371dee0..32944b79 100644
--- a/openbox/menu.h
+++ b/openbox/menu.h
@@ -30,6 +30,7 @@ typedef struct Menu {
/* render stuff */
+ Client *client;
Window frame;
Window title;
Appearance *a_title;
@@ -79,6 +80,7 @@ Menu *menu_new(char *label, char *name, Menu *parent);
void menu_free(char *name);
void menu_show(char *name, int x, int y, Client *client);
+void menu_hide(Menu *self);
MenuEntry *menu_entry_new_full(char *label, Action *action,
MenuEntryRenderType render_type,
@@ -97,4 +99,6 @@ MenuEntry *menu_find_entry(Menu *menu, Window win);
void menu_entry_render(MenuEntry *self);
+void menu_entry_fire(MenuEntry *self);
+
#endif