aboutsummaryrefslogtreecommitdiff
path: root/include/xwayland
diff options
context:
space:
mode:
authorJohn Lindgren <john@jlindgren.net>2022-11-09 16:09:43 -0500
committerJohn Lindgren <john@jlindgren.net>2023-02-13 12:57:20 -0500
commit068280201afdb8d87b1c624d115bed8866c6852e (patch)
tree62fcd3c498ecc61d63a62b737a30e5a8187f2990 /include/xwayland
parent23b7d22c6c04b4c86673d7d4bec5bf874a1f43f7 (diff)
xwayland: Read and publish _NET_WM_STRUT_PARTIAL property
This is needed for compositors that want to reserve space for XWayland panels. Such a feature can be useful in a "transitional" setup, where only the X11 window manager and compositor is replaced but other components of an X11 desktop environment are still used. This change simply reads the X11 property; the compositor is free to ignore it. Thus, compositors that don't want to support such a "transitional" feature are not impacted. v2: Update xwayland_surface_associate()
Diffstat (limited to 'include/xwayland')
-rw-r--r--include/xwayland/xwm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/xwayland/xwm.h b/include/xwayland/xwm.h
index c057e1b7..c69504e8 100644
--- a/include/xwayland/xwm.h
+++ b/include/xwayland/xwm.h
@@ -34,6 +34,7 @@ enum atom_name {
NET_WM_PID,
NET_WM_NAME,
NET_WM_STATE,
+ NET_WM_STRUT_PARTIAL,
NET_WM_WINDOW_TYPE,
WM_TAKE_FOCUS,
WINDOW,