mirror of
https://github.com/mpv-player/mpv
synced 2024-12-27 01:22:30 +00:00
vo: update w32_common left out by 4d75514
This commit is contained in:
parent
7539928c1c
commit
aae47146a7
@ -1464,16 +1464,13 @@ static int gui_thread_control(struct vo_w32_state *w32, int request, void *arg)
|
||||
{
|
||||
switch (request) {
|
||||
case VOCTRL_FULLSCREEN:
|
||||
w32->opts->fullscreen = !w32->opts->fullscreen;
|
||||
if (w32->opts->fullscreen != w32->current_fs)
|
||||
reinit_window_state(w32);
|
||||
return VO_TRUE;
|
||||
case VOCTRL_ONTOP:
|
||||
w32->opts->ontop = !w32->opts->ontop;
|
||||
reinit_window_state(w32);
|
||||
return VO_TRUE;
|
||||
case VOCTRL_BORDER:
|
||||
w32->opts->border = !w32->opts->border;
|
||||
reinit_window_state(w32);
|
||||
return VO_TRUE;
|
||||
case VOCTRL_GET_UNFS_WINDOW_SIZE: {
|
||||
|
Loading…
Reference in New Issue
Block a user