update the menus before putting them in the visible list
This commit is contained in:
parent
abd2f914df
commit
11e28eaa5c
1 changed files with 2 additions and 1 deletions
|
@ -597,9 +597,10 @@ void menu_frame_show(ObMenuFrame *self, ObMenuFrame *parent)
|
||||||
self->menu->update_func(self, self->menu->data);
|
self->menu->update_func(self, self->menu->data);
|
||||||
}
|
}
|
||||||
|
|
||||||
menu_frame_visible = g_list_prepend(menu_frame_visible, self);
|
|
||||||
menu_frame_update(self);
|
menu_frame_update(self);
|
||||||
|
|
||||||
|
menu_frame_visible = g_list_prepend(menu_frame_visible, self);
|
||||||
|
|
||||||
menu_frame_move_on_screen(self);
|
menu_frame_move_on_screen(self);
|
||||||
|
|
||||||
XMapWindow(ob_display, self->window);
|
XMapWindow(ob_display, self->window);
|
||||||
|
|
Loading…
Reference in a new issue