From aab6a86633c7d06b58010ce54ba6377afb3ee3f1 Mon Sep 17 00:00:00 2001 From: radius Date: Mon, 26 Nov 2018 21:15:03 -0500 Subject: [PATCH] only apply fixed window size when the setting is enabled --- gfx/video_driver.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gfx/video_driver.c b/gfx/video_driver.c index e544ab2762..e82e19d022 100644 --- a/gfx/video_driver.c +++ b/gfx/video_driver.c @@ -986,7 +986,8 @@ static bool video_driver_init_internal(bool *video_is_threaded) else { /* To-Do: remove when the new window resizing core is hooked */ - if (settings->uints.window_position_width || settings->uints.window_position_height) + if (settings->bools.video_window_save_positions && + (settings->uints.window_position_width || settings->uints.window_position_height)) { width = settings->uints.window_position_width; height = settings->uints.window_position_height;