From c34915ae8d49f61426912ef332e8097be516bdd3 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 28 Aug 2003 07:49:57 +0000 Subject: make submenus not require the menu to exist when they are created, not until they are shown. crash fix in client_menu --- openbox/menu.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'openbox/menu.h') 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 -- cgit v1.2.3