diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-09-14 21:06:20 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-09-14 21:06:20 +0000 |
| commit | 11e28eaa5c9e3ace49758345eac2f6c4b701659b (patch) | |
| tree | b64d1ec4eae22afa60cfd55691ab7f80c413e1c8 | |
| parent | abd2f914dff6a38b78532e8b269440e6008f8933 (diff) | |
update the menus before putting them in the visible list
| -rw-r--r-- | openbox/menuframe.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |
