mirror of
https://github.com/mpv-player/mpv
synced 2025-03-22 11:18:32 +00:00
player: consistently initialize screensaver state with --force-window
Whether this is a good or a bad thing, make sure it's consistent.
This commit is contained in:
parent
65c06511bf
commit
fc4318d23e
@ -908,7 +908,7 @@ int handle_force_window(struct MPContext *mpctx, bool force)
|
||||
};
|
||||
if (vo_reconfig(vo, &p) < 0)
|
||||
goto err;
|
||||
vo_control(vo, VOCTRL_RESTORE_SCREENSAVER, NULL);
|
||||
update_screensaver_state(mpctx);
|
||||
vo_set_paused(vo, true);
|
||||
vo_redraw(vo);
|
||||
mp_notify(mpctx, MPV_EVENT_VIDEO_RECONFIG, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user