]> Dogcows Code - chaz/openbox/commitdiff
update the menus before putting them in the visible list
authorDana Jansens <danakj@orodu.net>
Sun, 14 Sep 2003 21:06:20 +0000 (21:06 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 14 Sep 2003 21:06:20 +0000 (21:06 +0000)
openbox/menuframe.c

index 3a52be8c7b8db81f75b7c52c167b0f4468d26466..b7f1379fab1cc73fd1053160d8ac9d2a703712d5 100644 (file)
@@ -597,9 +597,10 @@ void menu_frame_show(ObMenuFrame *self, ObMenuFrame *parent)
             self->menu->update_func(self, self->menu->data);
     }
 
-    menu_frame_visible = g_list_prepend(menu_frame_visible, self);
     menu_frame_update(self);
 
+    menu_frame_visible = g_list_prepend(menu_frame_visible, self);
+
     menu_frame_move_on_screen(self);
 
     XMapWindow(ob_display, self->window);
This page took 0.023738 seconds and 4 git commands to generate.