From 78a8680cd7379cc0d75af810dabe62c7a6c4a8b2 Mon Sep 17 00:00:00 2001 From: Scott Moynes Date: Wed, 14 May 2003 03:34:29 +0000 Subject: Added a menu to read from a pipe. File descriptors added to the event loop. --- openbox/menu.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'openbox/menu.c') diff --git a/openbox/menu.c b/openbox/menu.c index bfac0452..11d04009 100644 --- a/openbox/menu.c +++ b/openbox/menu.c @@ -92,13 +92,11 @@ void menu_startup() menu_add_entry(m, menu_entry_new_submenu("subz", s)); - /* t = (Menu *)plugin_create("timed_menu"); a = action_from_string("execute"); a->data.execute.path = g_strdup("xeyes"); menu_add_entry(t, menu_entry_new("xeyes", a)); menu_add_entry(m, menu_entry_new_submenu("timed", t)); - */ s = menu_new("empty", "chub", m); menu_add_entry(m, menu_entry_new_submenu("empty", s)); @@ -121,7 +119,7 @@ void menu_startup() menu_add_entry(s, menu_entry_new("exit", a)); menu_add_entry(m, menu_entry_new_submenu("long", s)); - + m = menu_new(NULL, "client", NULL); a = action_from_string("iconify"); menu_add_entry(m, menu_entry_new("iconify", a)); @@ -312,6 +310,7 @@ void menu_clear(Menu *self) { menu_entry_free(entry); } self->entries = NULL; + self->invalid = TRUE; } -- cgit v1.2.3