hide menus before showing a new menu root

This commit is contained in:
Dana Jansens 2003-09-10 18:14:44 +00:00
parent 00f6dea058
commit 36b78531e9

View file

@ -283,6 +283,8 @@ void menu_show(gchar *name, gint x, gint y, ObClient *client)
if (!(self = menu_from_name(name))) return; if (!(self = menu_from_name(name))) return;
menu_frame_hide_all();
frame = menu_frame_new(self, client); frame = menu_frame_new(self, client);
menu_frame_move(frame, x, y); menu_frame_move(frame, x, y);
menu_frame_show(frame, NULL); menu_frame_show(frame, NULL);