From 36b78531e9dfb03e76d305f4d9f44eff9842ea96 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 10 Sep 2003 18:14:44 +0000 Subject: [PATCH] hide menus before showing a new menu root --- openbox/menu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openbox/menu.c b/openbox/menu.c index 4a259387..cd4b5cb1 100644 --- a/openbox/menu.c +++ b/openbox/menu.c @@ -283,6 +283,8 @@ void menu_show(gchar *name, gint x, gint y, ObClient *client) if (!(self = menu_from_name(name))) return; + menu_frame_hide_all(); + frame = menu_frame_new(self, client); menu_frame_move(frame, x, y); menu_frame_show(frame, NULL); -- 2.45.2