x11_common: detect wm support for _NET_WM_STATE_SKIP_TASKBAR

This commit is contained in:
nanahi 2024-04-12 23:13:17 -04:00 committed by Kacper Michajłow
parent 51bd00c33a
commit 3a92d7ba3b
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}