Skip to content

Conversation

timon-schelling
Copy link
Contributor

This PR adds a new prefer_csd attribute that allows applications to indicate to the Wayland compositor that they prefer client-side decorations (CSD).

With this change:

  • If the compositor supports CSD, sctk-adwaita will be used to draw a frame around the window.

  • This happens not only when the compositor lacks server-side decorations (like in GNOME), but also whenever the compositor allows client-side decorations.

In combination with #4357, this enables creating windows with a frame but without a titlebar—making it possible to implement fully custom titlebars or headerbars while still retaining a proper window frame.

  • Tested on all platforms changed
  • Added an entry to the changelog module if knowledge of this change could be valuable to users
  • Updated documentation to reflect any user-facing changes, including notes of platform-specific behavior
  • Created or updated an example program if it would help users understand this functionality

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants