summaryrefslogtreecommitdiffstats
path: root/options/options.h
diff options
context:
space:
mode:
authornanahi <130121847+na-na-hi@users.noreply.github.com>2024-04-13 00:00:40 -0400
committerKacper Michajłow <kasper93@gmail.com>2024-04-18 00:09:09 +0200
commitdcd10345291a3ecd573decc5125de243bcb1351b (patch)
tree1bff9c7bed0d1b8f13de85fc011e4e72084b3416 /options/options.h
parent3a92d7ba3bedbab1a1f7128fd692cd64083b8227 (diff)
downloadmpv-dcd10345291a3ecd573decc5125de243bcb1351b.tar.bz2
mpv-dcd10345291a3ecd573decc5125de243bcb1351b.tar.xz
x11_common: implement --show-in-taskbar option
This adds a new option --show-in-taskbar, which controls whether mpv appears in taskbars. This is useful for picture-in-picture setups where the video window should not appear in taskbars. On X11, this can be controled by setting the _NET_WM_STATE_SKIP_TASKBAR window state.
Diffstat (limited to 'options/options.h')
-rw-r--r--options/options.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/options/options.h b/options/options.h
index 69a50b3350..ae75ec9d11 100644
--- a/options/options.h
+++ b/options/options.h
@@ -56,6 +56,7 @@ typedef struct mp_vo_opts {
bool keepaspect_window;
bool hidpi_window_scale;
bool native_fs;
+ bool show_in_taskbar;
int64_t WinID;