summaryrefslogtreecommitdiff
path: root/openbox/menu.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-09-07 19:03:20 +0000
committerDana Jansens <danakj@orodu.net>2003-09-07 19:03:20 +0000
commit78282959f970d28131e6aa8d66adce359aa145dc (patch)
tree57508152b85c3442d1b0c683497bbc12a7f5dff0 /openbox/menu.h
parentb23594d88d462f4ed1b0a26b5e303f491758f5ff (diff)
little bit of an actions overhaul, added action_run* so that duplicated code can all be in the same place now woot.
allow actions to specify when they can be used (ShowMenu cant in the OB_USER_ACTION_MENU_SELECTION case) remove KeyboardMove ad KeyboardResize. Instead, just use Move and Resize and determine if it should be a keyboard move/resize in the code
Diffstat (limited to 'openbox/menu.h')
-rw-r--r--openbox/menu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/menu.h b/openbox/menu.h
index f6c33417..5683cb2a 100644
--- a/openbox/menu.h
+++ b/openbox/menu.h
@@ -20,7 +20,8 @@ typedef struct _ObSubmenuMenuEntry ObSubmenuMenuEntry;
typedef struct _ObSeparatorMenuEntry ObSeparatorMenuEntry;
typedef void (*ObMenuUpdateFunc)(struct _ObMenuFrame *frame, gpointer data);
-typedef void (*ObMenuExecuteFunc)(struct _ObMenuEntry *entry, gpointer data);
+typedef void (*ObMenuExecuteFunc)(struct _ObMenuEntry *entry,
+ guint state, gpointer data);
typedef void (*ObMenuDestroyFunc)(struct _ObMenu *menu, gpointer data);
struct _ObMenu