From fc4318d23e07cb1e3b212dfe21e5988ef23f6749 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 26 Oct 2016 20:35:12 +0200 Subject: player: consistently initialize screensaver state with --force-window Whether this is a good or a bad thing, make sure it's consistent. --- player/playloop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player') diff --git a/player/playloop.c b/player/playloop.c index 4616db0744..aa3eb637ee 100644 --- a/player/playloop.c +++ b/player/playloop.c @@ -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); -- cgit v1.2.3