diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-03 20:39:26 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-03 20:39:26 +0000 |
| commit | e0e1d4ba7e150b215b55029ddbff3c824b94caf7 (patch) | |
| tree | f77339bd42489362112e75ddee8855231c12e6ad /openbox/menu.h | |
| parent | 53975abf1220c36ebbab455299a9915477c5a6b8 (diff) | |
don't show the client menu when its for an invalid window
Diffstat (limited to 'openbox/menu.h')
| -rw-r--r-- | openbox/menu.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/menu.h b/openbox/menu.h index fc859a8b..b08f7c95 100644 --- a/openbox/menu.h +++ b/openbox/menu.h @@ -37,7 +37,8 @@ typedef struct _ObNormalMenuEntry ObNormalMenuEntry; typedef struct _ObSubmenuMenuEntry ObSubmenuMenuEntry; typedef struct _ObSeparatorMenuEntry ObSeparatorMenuEntry; -typedef void (*ObMenuUpdateFunc)(struct _ObMenuFrame *frame, gpointer data); +typedef gboolean (*ObMenuUpdateFunc)(struct _ObMenuFrame *frame, + gpointer data); typedef void (*ObMenuExecuteFunc)(struct _ObMenuEntry *entry, guint state, gpointer data, Time time); typedef void (*ObMenuDestroyFunc)(struct _ObMenu *menu, gpointer data); |
