summaryrefslogtreecommitdiff
path: root/openbox/action.h
diff options
context:
space:
mode:
authorScott Moynes <smoynes@nexus.carleton.ca>2003-03-29 03:18:11 +0000
committerScott Moynes <smoynes@nexus.carleton.ca>2003-03-29 03:18:11 +0000
commita116f2c6310db702e377e9cd1a95c9a980aba5ae (patch)
tree1e92192f3f75f013c31abb2dd4e417cc4912822a /openbox/action.h
parent7f5514aeb7bb8d84c7b038a08a57ee2d55e310f1 (diff)
Menu data structures basically completed.
Need the engine support still, parser, and controllers.
Diffstat (limited to 'openbox/action.h')
-rw-r--r--openbox/action.h9
1 files changed, 8 insertions, 1 deletions
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