diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-08-28 07:49:57 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-08-28 07:49:57 +0000 |
| commit | c34915ae8d49f61426912ef332e8097be516bdd3 (patch) | |
| tree | 83f0a5eb4334f67c2830dd2ade09b125ac485f73 /openbox/menu.h | |
| parent | f7eb47dba4b091b67a28404ce461b15dffcb4298 (diff) | |
make submenus not require the menu to exist when they are created, not until they are shown.
crash fix in client_menu
Diffstat (limited to 'openbox/menu.h')
| -rw-r--r-- | openbox/menu.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbox/menu.h b/openbox/menu.h index c4c9deea..c91be82b 100644 --- a/openbox/menu.h +++ b/openbox/menu.h @@ -62,6 +62,7 @@ struct _ObNormalMenuEntry { }; struct _ObSubmenuMenuEntry { + gchar *name; ObMenu *submenu; }; @@ -107,4 +108,6 @@ void menu_add_separator(gchar *name, gint id); ObMenuEntry* menu_find_entry_id(ObMenu *self, gint id); +void menu_find_submenus(ObMenu *self); + #endif |
