From b8e78bba16eb0030689e710572d4b5d45432d089 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 10 Jun 2007 19:37:09 +0000 Subject: cache pipe menus without crashing! --- openbox/menu.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'openbox/menu.c') 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); -- cgit v1.2.3