1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 09:32:40 +00:00

win32: don't change window size on video reconfig when maximized

Fixes: #7265
This commit is contained in:
Kacper Michajłow 2024-10-07 02:31:34 +02:00
parent 6667b9723e
commit fb9ac9b570

View File

@ -1959,7 +1959,7 @@ static void window_reconfig(struct vo_w32_state *w32, bool force)
vo->dwidth = r.right;
vo->dheight = r.bottom;
} else {
if (w32->current_fs)
if (w32->current_fs || w32->opts->window_maximized)
rc = &w32->prev_windowrc;
w32->fit_on_screen = true;
}