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()
This commit is contained in:
John Lindgren 2022-11-09 16:09:43 -05:00
parent 23b7d22c6c
commit 068280201a
4 changed files with 47 additions and 0 deletions

View file

@ -2,6 +2,7 @@ xwayland_libs = []
xwayland_required = [
'xcb',
'xcb-composite',
'xcb-ewmh',
'xcb-icccm',
'xcb-render',
'xcb-res',