diff options
author | der richter <der.richter@gmx.de> | 2020-09-14 17:27:43 +0200 |
---|---|---|
committer | der richter <der.richter@gmx.de> | 2020-09-25 16:48:24 +0200 |
commit | 18a35f17e2f36a9af0f647f04f08b6b5b56e10e4 (patch) | |
tree | 17485978ca8f1aded38e2b22487d1bcd9137ea8f /options/options.h | |
parent | c535dfed6657da738e2df7d83fdc39b8950a3463 (diff) | |
download | mpv-18a35f17e2f36a9af0f647f04f08b6b5b56e10e4.tar.bz2 mpv-18a35f17e2f36a9af0f647f04f08b6b5b56e10e4.tar.xz |
mac: add an option to prevent focusing of the window on open
on macOS 10.15 setting the activation policy behaves quite weirdly. the
call changes the current active App to a nameless process, which
probably also the reason that prevents the not focusing to work.
a workaround for that, is to refocus the previous active app.
Fixes #7725
Diffstat (limited to 'options/options.h')
-rw-r--r-- | options/options.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/options/options.h b/options/options.h index 9b93588bec..68f8bed052 100644 --- a/options/options.h +++ b/options/options.h @@ -19,6 +19,7 @@ typedef struct mp_vo_opts { int all_workspaces; int window_minimized; int window_maximized; + bool focus_on_open; int screen_id; int fsscreen_id; |