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.