only apply fixed window size when the setting is enabled
This commit is contained in:
parent
1187df922a
commit
aab6a86633
|
@ -986,7 +986,8 @@ static bool video_driver_init_internal(bool *video_is_threaded)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* To-Do: remove when the new window resizing core is hooked */
|
/* 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;
|
width = settings->uints.window_position_width;
|
||||||
height = settings->uints.window_position_height;
|
height = settings->uints.window_position_height;
|
||||||
|
|
Loading…
Reference in New Issue