From 78282959f970d28131e6aa8d66adce359aa145dc Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 7 Sep 2003 19:03:20 +0000 Subject: 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 --- openbox/menu.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openbox/menu.h') 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 -- cgit v1.2.3