Skip to content

Conversation

timon-schelling
Copy link
Contributor

@timon-schelling timon-schelling commented Sep 13, 2025

sctk-adwaita has a new hide_titlebar feature in 0.11. This pr adds a feature flag to enable that for wayland csd.

Usecase:

  • Allows using frame provided by sctk-adwaita with a custom or no title bar.
  • We would like to use something like this for the upcoming graphite desktop app on wayland (see image).
image
  • 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

@kchibisov
Copy link
Member

Can it be additive over notitle? I'd assume that notitle is the one with bar, but no text, so this one should depend on notitle.

@timon-schelling
Copy link
Contributor Author

timon-schelling commented Sep 14, 2025

Didn't test that but should work. What do you think about the name? Something like frame-only would also work.

This could also be implemented as a option on the Wayland Windows Attributes (because it is not just a mapping to sctk-adwaita feature flag like notitle) would you prefer that?

@kchibisov
Copy link
Member

Don't have a strong preference, whatever makes it clear for downstream from your standpoint. I just want it be additive logically on top of existing one.

@timon-schelling timon-schelling force-pushed the add-wayland-sctk-hide-titlebar-feature-flag branch from 75efbdd to 62e8efc Compare September 16, 2025 09:36
@timon-schelling timon-schelling force-pushed the add-wayland-sctk-hide-titlebar-feature-flag branch from 62e8efc to 214eb1c Compare September 16, 2025 09:57
@timon-schelling
Copy link
Contributor Author

I just want it be additive logically on top of existing one.

Done. And moved the hide_titlebar call to the function that creates the sctk FrameConfig, will work after changing decoration flag.

@kchibisov kchibisov merged commit 5575f51 into rust-windowing:master Oct 8, 2025
57 checks passed
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