]> Dogcows Code - chaz/openbox/commitdiff
hide menus before showing a new menu root
authorDana Jansens <danakj@orodu.net>
Wed, 10 Sep 2003 18:14:44 +0000 (18:14 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 10 Sep 2003 18:14:44 +0000 (18:14 +0000)
openbox/menu.c

index 4a259387009c43bd491fea71fa6162cb1b83d0d6..cd4b5cb168fe2e2d79563b5adb1ac2f7efcf1aef 100644 (file)
@@ -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);
This page took 0.022084 seconds and 4 git commands to generate.