summaryrefslogtreecommitdiffstats
path: root/player/playloop.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-10-26 20:35:12 +0200
committerwm4 <wm4@nowhere>2016-10-26 20:35:12 +0200
commitfc4318d23e07cb1e3b212dfe21e5988ef23f6749 (patch)
tree2c8ded7a27fdbdaf878e59738fa19f4ab2fed160 /player/playloop.c
parent65c06511bf021eb101e54128f063d9da413ae901 (diff)
downloadmpv-fc4318d23e07cb1e3b212dfe21e5988ef23f6749.tar.bz2
mpv-fc4318d23e07cb1e3b212dfe21e5988ef23f6749.tar.xz
player: consistently initialize screensaver state with --force-window
Whether this is a good or a bad thing, make sure it's consistent.
Diffstat (limited to 'player/playloop.c')
-rw-r--r--player/playloop.c2
1 files changed, 1 insertions, 1 deletions
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);