From 6a79805b7c4116ee6ced87e78fb488f3274098ef Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 10 Jun 2007 18:48:58 +0000 Subject: cache pipe menus until the menus close --- openbox/menuframe.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'openbox/menuframe.c') diff --git a/openbox/menuframe.c b/openbox/menuframe.c index 654cf2ba..fa9e8e9d 100644 --- a/openbox/menuframe.c +++ b/openbox/menuframe.c @@ -1058,6 +1058,8 @@ void menu_frame_hide_all() } if ((it = g_list_last(menu_frame_visible))) menu_frame_hide(it->data); + + menu_clear_pipe_caches(); } void menu_frame_hide_all_client(ObClient *client) @@ -1068,6 +1070,8 @@ void menu_frame_hide_all_client(ObClient *client) if (f->client == client) menu_frame_hide(f); } + + menu_clear_pipe_caches(); } -- cgit v1.2.3