mirror of
https://github.com/labwc/labwc.git
synced 2026-04-12 08:21:13 -04:00
output,xwayland: Add support for _NET_WM_SUPPORT_PARTIAL
Account for space taken up by XWayland panels (as indicated by the _NET_WM_SUPPORT_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.)
This commit is contained in:
parent
f555308d85
commit
677dc9baf9
4 changed files with 130 additions and 0 deletions
|
|
@ -55,6 +55,8 @@ enum view_wants_focus {
|
|||
};
|
||||
|
||||
struct view;
|
||||
struct wlr_output;
|
||||
struct wlr_output_layout;
|
||||
struct wlr_surface;
|
||||
|
||||
/* Basic size hints (subset of XSizeHints from X11) */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue