logo

drewdevault.com

[mirror] blog and personal website of Drew DeVault git clone https://hacktivis.me/git/mirror/drewdevault.com.git

Sway-and-client-side-decorations.md (2327B)


  1. ---
  2. date: 2018-01-27
  3. title: Sway and client side decorations
  4. layout: post
  5. tags: [sway, gnome, wayland]
  6. ---
  7. You may have recently seen an article from GNOME on the subject of client side
  8. decorations (CSD) titled [Introducing the CSD
  9. Initiative](https://blogs.gnome.org/tbernard/2018/01/26/csd-initiative/). It
  10. states some invalid assumptions which I want to clarify, and I want to tell you
  11. [Sway](https://github.com/swaywm/sway)'s
  12. stance on the subject. I also speak for the rest of the projects involved in
  13. [wlroots](https://github.com/swaywm/wlroots) on this matter, including [Way
  14. Cooler](https://github.com/way-cooler/way-cooler),
  15. [waymonad](https://github.com/Ongy/waymonad), and
  16. [bspwc](https://github.com/Bl4ckb0ne/bspwc).
  17. The subject of which party is responsible for window decorations on Wayland (the
  18. client or the server) has been a subject of much debate. I want to clarify that
  19. though GNOME may imply that a consensus has been reached, this is not the case.
  20. CSD have real problems that have long been waved away by its supporters:
  21. - No consistent look and feel between clients and GUI toolkits
  22. - Misbehaving clients cannot be moved, closed, minimized, etc
  23. - No opportunity for compositors to customize behavior (e.g. tabbed windows on
  24. Sway)
  25. We are willing to cooperate on a compromise, but GNOME does not want to
  26. entertain the discussion and would rather push disingenuous propaganda for their
  27. cause. The topic of the #wayland channel on Freenode includes the statement
  28. "Please do not argue about server-side vs. client-side decorations. It's settled
  29. and won't change." I have been banned from this channel for over a year because
  30. I persistently called for compromise.
  31. GNOME's statement that "[server-side decorations] do not (and will never) work
  32. on Wayland" is false. KDE and Sway have long agreed on the importance of these
  33. problems and have worked together on a solution. We have developed and
  34. implemented a Wayland protocol extension which allows the compositor and client
  35. to negotiate what kind of decorations each wishes to use. KDE, Sway, Way Cooler,
  36. waymonad, and bspwc are all committed to supporting server-side decorations on
  37. our compositors.
  38. ---
  39. See also: [Martin Flöser of KDE responds to GNOME's
  40. article](https://blog.martin-graesslin.com/blog/2018/01/server-side-decorations-and-wayland/)