diff --git a/client/screen.cpp b/client/screen.cpp index e0857814..851c74d9 100644 --- a/client/screen.cpp +++ b/client/screen.cpp @@ -97,6 +97,7 @@ RedScreen::RedScreen(Application& owner, int id, const std::string& name, int wi , _mouse_captured (false) , _active_layer_change_event (false) , _pointer_on_screen (false) + , _menu_needs_update (false) { region_init(&_dirty_region); set_name(name); @@ -781,6 +782,9 @@ void RedScreen::exit_full_screen() _origin.x = _origin.y = 0; _window.set_origin(0, 0); show(); + if (_menu_needs_update) { + update_menu(); + } _full_screen = false; _out_of_sync = false; _frame_area = false; @@ -872,7 +876,8 @@ void RedScreen::external_show() void RedScreen::update_menu() { AutoRef