diff options
| author | Scott Moynes <smoynes@nexus.carleton.ca> | 2003-05-14 03:34:29 +0000 |
|---|---|---|
| committer | Scott Moynes <smoynes@nexus.carleton.ca> | 2003-05-14 03:34:29 +0000 |
| commit | 78a8680cd7379cc0d75af810dabe62c7a6c4a8b2 (patch) | |
| tree | 9cb914a5b33994cc7798cbef2ed82145f8019558 /openbox/menu.c | |
| parent | 80dfe9cbe829d9abe5ba95eed2c067a71aa3f073 (diff) | |
Added a menu to read from a pipe.
File descriptors added to the event loop.
Diffstat (limited to 'openbox/menu.c')
| -rw-r--r-- | openbox/menu.c | 5 |
1 files changed, 2 insertions, 3 deletions
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; } |
