summaryrefslogtreecommitdiffstats
path: root/video/out
diff options
context:
space:
mode:
authornanahi <130121847+na-na-hi@users.noreply.github.com>2024-04-12 23:13:17 -0400
committerKacper Michajłow <kasper93@gmail.com>2024-04-18 00:09:09 +0200
commit3a92d7ba3bedbab1a1f7128fd692cd64083b8227 (patch)
treebb3034cc998948a466c90c9399240336052a4742 /video/out
parent51bd00c33a905c3e5de149870b897bc99843e0be (diff)
downloadmpv-3a92d7ba3bedbab1a1f7128fd692cd64083b8227.tar.bz2
mpv-3a92d7ba3bedbab1a1f7128fd692cd64083b8227.tar.xz
x11_common: detect wm support for _NET_WM_STATE_SKIP_TASKBAR
Diffstat (limited to 'video/out')
-rw-r--r--video/out/x11_common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/x11_common.c b/video/out/x11_common.c
index fa2f2ba38c..f0588bcbf3 100644
--- a/video/out/x11_common.c
+++ b/video/out/x11_common.c
@@ -69,6 +69,7 @@
#define vo_wm_ABOVE 8
#define vo_wm_BELOW 16
#define vo_wm_STICKY 32
+#define vo_wm_SKIP_TASKBAR 64
/* EWMH state actions, see
http://freedesktop.org/Standards/wm-spec/index.html#id2768769 */
@@ -335,6 +336,7 @@ static int net_wm_support_state_test(struct vo_x11_state *x11, Atom atom)
NET_WM_STATE_TEST(STAYS_ON_TOP);
NET_WM_STATE_TEST(BELOW);
NET_WM_STATE_TEST(STICKY);
+ NET_WM_STATE_TEST(SKIP_TASKBAR);
return 0;
}