KDE/KWin On Wayland To Use Server-Side Decorations

Written by Michael Larabel in KDE on 7 February 2013 at 06:07 PM EST. 49 Comments
KDE
Martin Gräßlin, the well known maintainer of KDE's KWin window manager, has shared that when ported to Wayland the KDE window manager will be using server-side decorations. It's commonly represented that Wayland requires client-side decorations, but this isn't entirely the case.

In a new blog post, Martin notes that the Wayland protocol doesn't mandate the use of client side decorations or prevent server-side decorations. What does require client side decorations is Weston, the reference compositor for Wayland.

Developers in support of client side decorations use the talking points of only needing one texture to be rendered, no aliasing when rotating/wobbling windows, and application developers are free to come up with their own innovative decorations.

With KDE's focus on the desktop, netbook, and tablet form factors, Martin feels server-side decorations are important so that the most appropriate window decorations can be used depending upon the form factor.

The German developer also adds, "my main fear with CSD is that it ends up in a mess as we can see on Microsoft Windows. There CSD are common but applications don’t use it to do useful stuff, but to enforce their corporate design. This is bad for usability. Each application looking different? Stupid idea. Not even Microsoft is having a consistent decoration for their various products. Some have titles on the left, some centered. A complete mess. And my fear is that Linux would head there, too."

In the end he says that since Wayland doesn't require client side decorations (only Weston) and QtWayland allows turning CSD off, he will use server-side decorations when porting KWin as a Wayland compositor. Martin feels that overall it's a much better design choice not going with client side decorations.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week