diff --git a/gfx/common/win32_common.c b/gfx/common/win32_common.c index 4b0d7a1a09..cfe77cb25a 100644 --- a/gfx/common/win32_common.c +++ b/gfx/common/win32_common.c @@ -671,7 +671,7 @@ static void win32_save_position(void) settings->uints.window_position_x = g_win32_pos_x; settings->uints.window_position_y = g_win32_pos_y; settings->uints.window_position_width = g_win32_pos_width - border_thickness * 2; - settings->uints.window_position_height = g_win32_pos_height - border_thickness * 2 - title_bar_height - (settings->bools.ui_menubar_enable ? menu_bar_height : 0); + settings->uints.window_position_height = g_win32_pos_height - border_thickness * 2 - title_bar_height - ((settings->bools.ui_menubar_enable && !video_driver_is_threaded()) ? menu_bar_height : 0); } } }