From 11e28eaa5c9e3ace49758345eac2f6c4b701659b Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 14 Sep 2003 21:06:20 +0000 Subject: [PATCH] update the menus before putting them in the visible list --- openbox/menuframe.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.45.2