mirror of
https://github.com/libretro/RetroArch
synced 2025-03-17 10:21:26 +00:00
don't change window position on fullscreen changes
This commit is contained in:
parent
a4479e6738
commit
77ae2dc0cd
@ -651,10 +651,13 @@ static void win32_save_position(void)
|
||||
}
|
||||
if (settings && settings->bools.video_window_save_positions)
|
||||
{
|
||||
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;
|
||||
settings->uints.window_position_height= g_win32_pos_height;
|
||||
if (!settings->bools.video_fullscreen && !retroarch_is_forced_fullscreen())
|
||||
{
|
||||
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;
|
||||
settings->uints.window_position_height = g_win32_pos_height;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1324,6 +1327,7 @@ bool win32_set_video_mode(void *data,
|
||||
&mon_rect, width, height, fullscreen))
|
||||
return false;
|
||||
|
||||
|
||||
win32_set_window(&width, &height,
|
||||
fullscreen, windowed_full, &rect);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user