summaryrefslogtreecommitdiffstats
path: root/options/options.h
diff options
context:
space:
mode:
authorder richter <der.richter@gmx.de>2024-03-10 13:44:40 +0100
committerder richter <der.richter@gmx.de>2024-03-10 14:53:07 +0100
commit0ec385bc763567cbab4532b3579cd24b07958802 (patch)
tree3b1f1abe8801d8c9c3a998478d41c5ccbe638eb7 /options/options.h
parenta56d8ff18470e4612cbb23e35e7849b8e522ba7e (diff)
downloadmpv-0ec385bc763567cbab4532b3579cd24b07958802.tar.bz2
mpv-0ec385bc763567cbab4532b3579cd24b07958802.tar.xz
options: remove --focus-on-open and add --focus-on
replaces the old focus-on-open option with a more generic focus-on options that can be extended. adjust the only platform that uses that option. Fixes #8337
Diffstat (limited to 'options/options.h')
-rw-r--r--options/options.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/options/options.h b/options/options.h
index 1b7c3e3583..4d3d988789 100644
--- a/options/options.h
+++ b/options/options.h
@@ -20,7 +20,7 @@ typedef struct mp_vo_opts {
bool all_workspaces;
bool window_minimized;
bool window_maximized;
- bool focus_on_open;
+ int focus_on;
int screen_id;
char *screen_name;