From: Dana Jansens Date: Sun, 14 Sep 2003 21:06:20 +0000 (+0000) Subject: update the menus before putting them in the visible list X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=11e28eaa5c9e3ace49758345eac2f6c4b701659b;p=chaz%2Fopenbox update the menus before putting them in the visible list --- diff --git a/openbox/menuframe.c b/openbox/menuframe.c index 3a52be8c..b7f1379f 100644 --- a/openbox/menuframe.c +++ b/openbox/menuframe.c @@ -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);