Skip to content

Commit 035ef8d

Browse files
committed
win32: don't override fs user option
We don't support other ways of fullscreening. Fixes: #16119
1 parent d2016fb commit 035ef8d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

video/out/w32_common.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1072,9 +1072,7 @@ static void update_fullscreen_state(struct vo_w32_state *w32)
10721072
}
10731073

10741074
bool toggle_fs = w32->current_fs != new_fs;
1075-
w32->opts->fullscreen = w32->current_fs = new_fs;
1076-
m_config_cache_write_opt(w32->opts_cache,
1077-
&w32->opts->fullscreen);
1075+
w32->current_fs = new_fs;
10781076

10791077
if (toggle_fs && (!w32->opts->window_maximized || w32->unmaximize)) {
10801078
if (w32->current_fs) {

0 commit comments

Comments
 (0)