cage icon indicating copy to clipboard operation
cage copied to clipboard

[Feature Request] Window transparency

Open Hexality opened this issue 1 year ago • 5 comments

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.

Hexality avatar Nov 07 '24 03:11 Hexality

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?

emersion avatar Nov 07 '24 10:11 emersion

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 avatar Nov 07 '24 17:11 Hexality

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.

Hexality avatar Nov 07 '24 17:11 Hexality

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

emersion avatar Nov 26 '24 19:11 emersion

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?

Hexality avatar Nov 29 '24 00:11 Hexality