From: Dana Jansens Date: Wed, 10 Sep 2003 18:14:44 +0000 (+0000) Subject: hide menus before showing a new menu root X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=36b78531e9dfb03e76d305f4d9f44eff9842ea96;p=chaz%2Fopenbox hide menus before showing a new menu root --- 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);