mirror of
https://github.com/mpv-player/mpv
synced 2025-03-07 06:37:46 +00:00
player: fix another --force-window bug
Will this shit ever actually work? Fixes #2339.
This commit is contained in:
parent
009dfbe3b6
commit
d8d4e18835
@ -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__)
|
||||
|
Loading…
Reference in New Issue
Block a user