hide menus before showing a new menu root
This commit is contained in:
parent
00f6dea058
commit
36b78531e9
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue