]> Dogcows Code - chaz/openbox/blobdiff - openbox/menu.c
cache pipe menus without crashing!
[chaz/openbox] / openbox / menu.c
index 344e1a5a1ea49b2ac97cfadcbac13d2fed1ff133..c82eab8033f323899407e48b88575be0022a8bf1 100644 (file)
@@ -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);
This page took 0.029834 seconds and 4 git commands to generate.