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 Request] Window transparency #372

Open
Hexality opened this issue Nov 7, 2024 · 5 comments
Open

[Feature Request] Window transparency #372

Hexality opened this issue Nov 7, 2024 · 5 comments

Comments

@Hexality
Copy link

Hexality commented Nov 7, 2024

Would it be feasible? like, having a config/variable to make the window background transparent only showing the content on top of other stuff? (Would be useful for some applications like using waydroid floating app windows instead of the complete android ui on X11 for an example).

Also would be interesting to have a variable to enforce fullscreen and the ability to click through where there's nothing being displayed on the windows if possible.

@emersion
Copy link
Contributor

emersion commented Nov 7, 2024

Not sure I'm getting what you mean here… Is this about the nested mode, where cage is displayed as a window inside another compositor/WM?

@Hexality
Copy link
Author

Hexality commented Nov 7, 2024

Not sure I'm getting what you mean here… Is this about the nested mode, where cage is displayed as a window inside another compositor/WM?

yup, nested mode.

@Hexality
Copy link
Author

Hexality commented Nov 7, 2024

Waydroid for an example utilizes of wayland layers to render app windows over other apps with a fullscreen click through background-less window, if cage had support for something like this in the fullscreen mode, you could probably use cage to be able to have waydroid fully working on x11 or to allow something like XWayland boy inversed.

@emersion
Copy link
Contributor

Right. It should just be a matter of using the right clear color and selecting a DRM format with an alpha channel.

@Hexality
Copy link
Author

Right. It should just be a matter of using the right clear color and selecting a DRM format with an alpha channel.

can it be ran as a frameless windows on top of another compositor (nested) using drm?

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