4 ms·
Something that isn't clear to me is why there has to be a hard divide between CSD and SSD. Is there anything in the Wayland spec that prevents UI frameworks fro
by jwells89 2y ago
Something that isn't clear to me is why there has to be a hard divide between CSD and SSD. Is there anything in the Wayland spec that prevents UI frameworks from saying, "hey windowmanager/compositor, here's where control widgets go for this window", allowing WM-drawn controls to live on the same plane of existence as program-drawn controls? That along with some way for the WM/compositor to tell the UI framework if the user wants a discrete titlebar or if they're cool with the UI framework doing its own thing seems like it'd make everybody happy.
- aidenn0 2y agoNothing technical in the way. I don't see Gnome adding such a feature though.
- NekkoDroid 2y agoThe main reason I know that GNOME doesn't implement xdg-decoration is to specifically not have to draw anything itself ontop of the surfaces of clients. It would then need to kinda synchronize the rendering of its stuff with the update loop of the application. The only time I can remember when Mutter/gnome-shell draws over the client is when it stops updating over the wayland socket (freezes), so there isn't really an update loop it needs to synchronize to.