by lkiux · 10y ago · 0 comments
You could have done the inverse, as currently done with X11 (server-side decoration by default, but overridable).
This incurs in stupid behavior for all tiling window managers in wayland, as they cannot enforce the client to remove the title bar. For a tiling window manager user, this a significant downgrade in wayland. The WM protocol in X11 is one of the few areas that let X11 innovate a lot compared to all other desktops. The number of (wonderfully) different window managers is proof. Server-side decorations, in particular, should have been a no-brainer!
Which is a stupid idea in and of itself. It means there's no trusted path to the window manager that programs can't spoof.
Also as an aside, that's actually a linked video, github just does a REALLY bad job of showing that off. I'm going to have to make that more clear.
But neither can X11 WMs really enforce in any way client to remove title bar. Of course the WM might refuse to render its own decorations, but it can't really deny the client of rendering whatever it wants.
The only program(s) that do this are chromium and firefox in my machine, and both can disable this because it doesn't look native.