Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't set the background color when initializing with transparency #3657

Merged
merged 3 commits into from Apr 27, 2024

Conversation

madsmtm
Copy link
Member

@madsmtm madsmtm commented Apr 27, 2024

Setting the background color changes how the window title bar appears, which is something that the application should customize itself if it wants this behaviour (and also, it wasn't set when calling set_transparent, so the behaviour wasn't consistent).

This was introduced all the way back in #853, so I can't really tell what the reasoning behind it was, but I assume it was for the examples to show better (i.e. setting the window as transparent worked even when not rendering into it).

  • Tested on all platforms changed
  • Added an entry to the changelog module if knowledge of this change could be valuable to users

Related: alacritty/alacritty#7928

@madsmtm madsmtm added B - bug Dang, that shouldn't have happened DS - macos labels Apr 27, 2024
@madsmtm madsmtm force-pushed the madsmtm/macos-background-color branch from 6cc5499 to a12af15 Compare April 27, 2024 13:09
Setting the background color changes how the window title bar appears,
which is something that the application should customize itself if it
wants this behaviour (and also, it wasn't set when calling
`set_transparent`, so the behaviour wasn't consistent).
@madsmtm madsmtm force-pushed the madsmtm/macos-background-color branch from a12af15 to f8baa5e Compare April 27, 2024 13:09
@madsmtm madsmtm merged commit 94664ff into master Apr 27, 2024
52 checks passed
@madsmtm madsmtm deleted the madsmtm/macos-background-color branch April 27, 2024 13:41
kchibisov pushed a commit that referenced this pull request Apr 27, 2024
…3657)

Setting the background color changes how the window title bar appears,
which is something that the application should customize itself if it
wants this behaviour (and also, it wasn't set when calling
`set_transparent`, so the behaviour wasn't consistent).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B - bug Dang, that shouldn't have happened DS - macos
Development

Successfully merging this pull request may close these issues.

None yet

2 participants