From 3a92d7ba3bedbab1a1f7128fd692cd64083b8227 Mon Sep 17 00:00:00 2001 From: nanahi <130121847+na-na-hi@users.noreply.github.com> Date: Fri, 12 Apr 2024 23:13:17 -0400 Subject: x11_common: detect wm support for _NET_WM_STATE_SKIP_TASKBAR --- video/out/x11_common.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'video/out') 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; } -- cgit v1.2.3