2 ms·
>> Decorations can be done client-side with a library if needed - there is no reason to push that work to the compositor. In a wayland system the compositor IS
by phkahler 6y ago
>> Decorations can be done client-side with a library if needed - there is no reason to push that work to the compositor.
In a wayland system the compositor IS the desktop shell. Window placement is not up to the application, so moving them and hence putting "handles" on them in the form of decorations is a natural fit for the compositor.
Another feature that belongs in the compositor is remembering where each application was last placed and sized and replicating that when starting them. I agree with the Wayland ideas that programs do not have the ability to warp mouse pointer or know about their environment, but once that model has been adopted there are useful features that need to move (or for decorations should move) into the compositor.