summaryrefslogtreecommitdiff
path: root/openbox/menu.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-06-10 19:37:09 +0000
committerDana Jansens <danakj@orodu.net>2007-06-10 19:37:09 +0000
commitb8e78bba16eb0030689e710572d4b5d45432d089 (patch)
tree898baaf2e632de92fccd3c6c8284410faebad2f3 /openbox/menu.c
parenta1f882b264505885228d1d47d65f11a5f460a187 (diff)
cache pipe menus without crashing!
Diffstat (limited to 'openbox/menu.c')
-rw-r--r--openbox/menu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbox/menu.c b/openbox/menu.c
index 344e1a5a..c82eab80 100644
--- a/openbox/menu.c
+++ b/openbox/menu.c
@@ -424,6 +424,9 @@ void menu_show(gchar *name, gint x, gint y, gint button, ObClient *client)
menu_frame_hide_all();
+ /* clear the pipe menus when showing a new menu */
+ menu_clear_pipe_caches();
+
frame = menu_frame_new(self, 0, client);
if (!menu_frame_show_topmenu(frame, x, y, button))
menu_frame_free(frame);