HNHacker News
TopNewBestAskShowJobs

sfar

6 karma · joined May 6, 2017

submissionscomments
sfar··on Way Cooler tiling window manager
I'm not sure if this completely answers your question but ...

Ordinarily QT will automatically render decorations inside an application's Wayland window, but if the QT_WAYLAND_DISABLE_WINDOWDECORATION environment variable is set, it only renders the content inside the decorations. The window manager can them draw it's own decorations around the outside, when it composites the desktop.

It's not ideal. There's no mechanism for an application to supply hints to the window manager to control it's decorations like in X. Nor can the application draw custom borders like when using client-side decorations. There's really no other way of implementing the stacking and tabbed window layouts which are popular in tiling window managers though. Thankfully it's good enough for most applications and the compositor can have overrides (e.g in a user config file) for special cases.

sfar··on Way Cooler tiling window manager
AFAIK it's unchanged. The Wayland spec doesn't really concern itself with decorations. It's up to the apps and compositor to figure it out.

QT allows decorations to be disabled and so works well with a tiling compositor. GTK doesn't. There are various GTK patches and hacks floating around to address this but nothing upstream. Older software generally works well by virtue of pre-dating client-side decorations.

sfar··on Way Cooler tiling window manager
I was a little disappointed to find out it's based on the C WLC library rather than being a full Rust implementation.