1
mirror of https://github.com/mpv-player/mpv synced 2024-11-14 22:48:35 +01:00

video/w32_common: follow updates to the border option instead of VOCTRL_BORDER

This commit is contained in:
Jan Ekström 2019-12-17 22:49:58 +02:00
parent 6554db47ab
commit df7d5a1689

View File

@ -1580,15 +1580,14 @@ static int gui_thread_control(struct vo_w32_state *w32, int request, void *arg)
reinit_window_state(w32);
} else if (changed_option == &vo_opts->ontop) {
update_window_state(w32);
} else if (changed_option == &vo_opts->border) {
update_window_style(w32);
update_window_state(w32);
}
}
return VO_TRUE;
}
case VOCTRL_BORDER:
update_window_style(w32);
update_window_state(w32);
return VO_TRUE;
case VOCTRL_GET_UNFS_WINDOW_SIZE: {
int *s = arg;