swaywm / wlroots

A modular Wayland compositor library
https://gitlab.freedesktop.org/wlroots/wlroots/
MIT License
2.15k stars 342 forks source link

xwayland: struts support #922

Open emersion opened 6 years ago

emersion commented 6 years ago

https://standards.freedesktop.org/wm-spec/wm-spec-latest.html#idm140200472580736

That would allow X11 bars to work.


wlroots has migrated to gitlab.freedesktop.org. This issue has been moved to:

https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/922

Ongy commented 6 years ago

_NET_WM_STRUTS_PARTIAL superseeds the normal _NET_WM_STRUTS. But all of this is a bit annoying, and has a few pitfalls. E.g. bars may (or may not, depends on the client) move around when outputs get moved/resized. Partial struts on the top end of an output that's below another are really iffy (xmonad/xmobar have a hack for this, that's non-standard).

I think the idea is ok, but I'd rather see work put towards porting applications that would need this to layer-shell, now that it's in rootston/sway (and my experimental waymonad branch).