Client-Side Decoration (CSD) is the concept of allowing a graphical application software to be responsible for drawing its own window decorations, historically the responsibility of the window manager.
Sometimes client-side decoration is used to refer to the applications that don't have traditional title bar, however this is a misuse of the phrase, as even applications that have basic title bar can be client side decorated.
By using client-side decoration rather than traditional server-side decoration, applications are able to draw their own title bar, which allows for a wide range of possibilities to customize window decorations and add additional functionality (graphical control elements) into what otherwise would be a typical window manager bar.
GTK was the first GUI toolkit on Linux that implemented client-side decoration using the GtkHeaderBar widget.
GtkHeaderBar merges the title bar, menu bar and tool bar into one unified horizontal bar in order to give more space to the application content, potentially reducing the amount of wasted space by showing empty bars. This can help to achieve a flexible UI and consistent UX across different computer form factors from desktop systems to small form factor devices by removing the traditional desktop-oriented parts from applications. These have first-class support in GNOME Shell and are widely use by GNOME applications.
Universal Windows Platform applications can choose to draw their own title bars.
Deepin Tool Kit
Notable applications with client-side decoration:
Wayland has an optional protocol, known as xdg-decoration, which allows an application (client) to query whether the window manager supports server-side decoration, however it is expected clients self-decorate where needed in the absence of this support. Mutter, the compositor used by GNOME Shell, under Wayland only supports client side decoration, whilst KWin supports both client and server side decoration.
- In 2008 Adobe released Photoshop CS4 that uses client-side decorations.
- In 2012 Microsoft uses client-side decorations in their new Metro design language by adding toolbar objects like back buttons to the windows title bar.
- In 2013 GTK added support for client-side decorations in 2013 with the release of GTK 3.10.
- "Client-side decorations, continued". blogs.gnome.org. Retrieved 2019-01-17.
- "A small note on window decorations | Florian Müllner". Retrieved 2019-11-13.
- "The CSD Initiative Is Pushing For Apps To Abandon Title Bars In Favor Of Header Bars - Phoronix". Phoronix. Retrieved 2018-01-28.
- "GtkHeaderBar: GTK+ 3 Reference Manual". developer.gnome.org. Retrieved 2019-01-17.
- mijacobs. "Title bar customization - Windows UWP applications". docs.microsoft.com. Retrieved 2019-01-17.
- "NSWindow - AppKit | Apple Developer Documentation". developer.apple.com. Retrieved 2019-06-07.
- "Frameless Window | Electron". electronjs.org. Retrieved 2019-01-17.
- Wayland protocol development, Wayland, 2019-10-07, retrieved 2019-11-13
- Bernard, Tobias. "Introducing the CSD Initiative – Space and Meaning". GNOME. Retrieved 2018-01-28.
- "GTK+ 3.10 released [LWN.net]". lwn.net. Retrieved 2019-01-17.