From a116f2c6310db702e377e9cd1a95c9a980aba5ae Mon Sep 17 00:00:00 2001 From: Scott Moynes Date: Sat, 29 Mar 2003 03:18:11 +0000 Subject: Menu data structures basically completed. Need the engine support still, parser, and controllers. --- openbox/action.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'openbox/action.h') diff --git a/openbox/action.h b/openbox/action.h index fae5b647..ff99af99 100644 --- a/openbox/action.h +++ b/openbox/action.h @@ -62,6 +62,11 @@ struct Resize { Corner corner; }; +struct ShowMenu { + Client *c; + char * menuName; +}; + union ActionData { struct AnyAction any; struct Execute execute; @@ -73,6 +78,7 @@ union ActionData { struct NextPreviousDesktop nextprevdesktop; struct Move move; struct Resize resize; + struct ShowMenu showMenu; }; typedef struct { @@ -185,5 +191,6 @@ void action_resize(union ActionData *data); void action_restart(union ActionData *data); /* Any */ void action_exit(union ActionData *data); - +/* ShowMenu */ +void action_showmenu(union ActionData *data); #endif -- cgit v1.2.3