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

Feature: Add window transparency for linux #1926

Merged

Conversation

lyimmi
Copy link
Contributor

@lyimmi lyimmi commented Oct 1, 2022

This PR resolves #1923 by implementing window transparency on linux.

  • Added transparency in v2/internal/frontend/desktop/linux/window.go
  • Created WindowIsTranslucent option in v2/pkg/options/linux/linux.go
  • Updated docs in website/docs/reference/options.mdx

Tested on:

  • Linux/amd64, PopOs 22.04 with X11 (In this case its the same as Ubuntu 22.04)
    • Works as intended.
  • Linux/arm, Raspbian GNU/Linux 11 (bullseye)
    • It does not work on raspbian, because the window manager doesn't supports compositing, but the case is handled, so the window opens as opaque.

@leaanthony
Copy link
Member

Nice one!

@leaanthony leaanthony merged commit 2690250 into wailsapp:master Oct 1, 2022
@lyimmi lyimmi deleted the feature/1923_transparent_window_on_linux branch October 1, 2022 08:49
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

Successfully merging this pull request may close these issues.

[v2 Linux] Transparent window on linux
2 participants