From d8d4e188352160a2eac0e004d341ab5c3f997e6e Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 23 Sep 2015 22:03:11 +0200 Subject: player: fix another --force-window bug Will this shit ever actually work? Fixes #2339. --- player/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player') diff --git a/player/main.c b/player/main.c index 172da6eed7..50281ccf9b 100644 --- a/player/main.c +++ b/player/main.c @@ -466,7 +466,7 @@ int mp_initialize(struct MPContext *mpctx, char **options) if (opts->consolecontrols && cas_terminal_owner(mpctx, mpctx)) terminal_setup_getch(mpctx->input); - if (handle_force_window(mpctx, false) < 0) + if (opts->force_vo == 2 && handle_force_window(mpctx, false) < 0) return -1; #if !defined(__MINGW32__) -- cgit v1.2.3