zng-ui / zng

Cross-platform GUI framework.
Apache License 2.0
59 stars 1 forks source link

Custom titlebar for GNOME+Wayland #460

Closed SamRodri closed 2 months ago

SamRodri commented 2 months ago

Windows with chrome enabled, the default, render only a fallback title bar on GNOME+Wayland. This happens because Wayland has no server side chrome rendering, and GNOME expects apps to not just have a title bar.

The fallback title bar does not render text, we should offer a slightly better fallback, and view API so that users can detect exactly what Windowing Server is handling the window.