]> git.mdlowis.com Git - proto/labwc.git/commit
output,xwayland: Add support for _NET_WM_STRUT_PARTIAL
authorJohn Lindgren <john@jlindgren.net>
Tue, 22 Nov 2022 10:11:50 +0000 (05:11 -0500)
committerJohan Malm <johanmalm@users.noreply.github.com>
Wed, 29 Nov 2023 06:48:31 +0000 (06:48 +0000)
commit0a5255f0624818a604daf6de2c20ba896ae2c80d
tree6c8ac7c5b677ec6f93e1ba067d243a3000cf1c40
parenta9076f2a0179a82d356c685b51ea12a9299d97d4
output,xwayland: Add support for _NET_WM_STRUT_PARTIAL

Account for space taken up by XWayland panels (as indicated by the
_NET_WM_STRUT_PARTIAL property) in the usable_area calculation.

This makes it possible to use labwc in a "transitional" setup, where it
replaces the X11 window manager and compositor, but most other parts of
a existing X11 desktop environment can still be used via XWayland.

(Some remaining drawbacks of such a setup would be the lack of desktop
icons, and native Wayland clients not showing up in X11-based taskbars.)
include/xwayland.h
src/output.c
src/xwayland.c