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

Transparent window backgrounds? #298

Open
robwhitaker opened this issue Jul 4, 2023 · 1 comment
Open

Transparent window backgrounds? #298

robwhitaker opened this issue Jul 4, 2023 · 1 comment

Comments

@robwhitaker
Copy link

Is it possible to have transparent window backgrounds, such that you can see through to the desktop behind it? I tried setting the theme's clearColor to both transparent and rgbaHex "#000000" 0, but both resulted in a fully opaque window background.

Is there something I'm missing, or is this not possible?

@thefireflyer
Copy link

Transparent window backgrounds are, in my experience at least, rather frustrating to work with.

I'm new to the project, but Monomer appears to use SDL under the hood. SDL does support transparent windows [1], but I'm not sure if this is exposed to Monomer. You could try checking the haskell SDL library documentation; there might be something useful there!

It's also worth considering that transparent window backgrounds rely on Windows' Layered Windows. I am unaware if this is possible at all on Linux or Macos systems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants