You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.
Currently glazier allows the title bar to be disabled but this also disables the OS native buttons for closing and resizing (and macOS and windows stop treating them as main application windows).
This is fine but it would be nice to be able to configure a the window to have a full content view but still keep the OS native buttons and title_bar.
On macOS this can be done by adding NSWindowStyleMask::NSFullSizeContentViewWindowMask to the style_maskhere
and by setting the window.setTitlebarAppearsTransparent_ with true.
I could open a PR for this but I wasn't sure how to name these items and also how to ensure consistency with windows / linux.
The text was updated successfully, but these errors were encountered:
I haven't looked too much into this, but I suspect it will be painful on linux, what with the variety of different window decoration behaviors available in different environments. Maybe it's worth thinking about an API for platform-specific extensions? I know this was discussed in druid-shell at some point, although I can't find that discussion right now...
Looks like the backend for Wayland is currently lacking quite a bit of support for window decorations and now glazier just logs a warning. For now I might just throw together a PR for macOS and windows. And then for Wayland I'll just follow the current pattern and just log an error (unless I can figure out out how to make it work)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently glazier allows the title bar to be disabled but this also disables the OS native buttons for closing and resizing (and macOS and windows stop treating them as main application windows).
This is fine but it would be nice to be able to configure a the window to have a full content view but still keep the OS native buttons and title_bar.
On macOS this can be done by adding
NSWindowStyleMask::NSFullSizeContentViewWindowMask
to thestyle_mask
hereand by setting the
window.setTitlebarAppearsTransparent_
with true.I could open a PR for this but I wasn't sure how to name these items and also how to ensure consistency with windows / linux.
The text was updated successfully, but these errors were encountered: