From fe4213b164ad19bd94273cb179ee7c61f6094b59 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Wed, 6 Mar 2013 18:09:35 +0100 Subject: vo_sdl: we don't want to minize the window when losing focus Because: this makes multi-monitor use entirely useless (as soon as pointer leaves left screen, mpv gets auto minimized). --- video/out/vo_sdl.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'video') diff --git a/video/out/vo_sdl.c b/video/out/vo_sdl.c index fa9b593b55..9f6cadacc3 100644 --- a/video/out/vo_sdl.c +++ b/video/out/vo_sdl.c @@ -770,6 +770,8 @@ static int preinit(struct vo *vo, const char *arg) // predefine SDL defaults (SDL env vars shall override) SDL_SetHintWithPriority(SDL_HINT_RENDER_SCALE_QUALITY, "1", SDL_HINT_DEFAULT); + SDL_SetHintWithPriority(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, "0", + SDL_HINT_DEFAULT); // predefine MPV options (SDL env vars shall be overridden) SDL_SetHintWithPriority(SDL_HINT_RENDER_VSYNC, vc->vsync ? "1" : "0", -- cgit v1.2.3