You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using iced_layershell for my application. I have overridden the default style to use a transparent background but my app contains inner opaque elements. The transparent regions of my application need to be transparent to input events, corresponding to the input_region of the wl_surface. The actual gui is dynamic and therefore I cannot rely on a static layershell size. I could not find a suitable api accessible through iced_layershell.
I have two suggestions for solutions:
Provide a new action capable of performing this change at runtime. The input region is part of the core wayland protocol, not the layershell protocol, so it might not entirely make sense to include it alongside other parts of this crate.
Provide an escape hatch by exposing the wl_surface of the current window, such that clients can perform the set_input_region request manually.
Although not necessary for this issue, it might be useful to consider support for setting the opaque_region as well.
The text was updated successfully, but these errors were encountered:
If you are referring to #109, it does not do what I need. The events_transparent flag is a bool that applies to the whole surface, and there is no way to inject a specific region. It's also not dynamic and only applies once upon creation of the surface.
I'm using iced_layershell for my application. I have overridden the default style to use a transparent background but my app contains inner opaque elements. The transparent regions of my application need to be transparent to input events, corresponding to the input_region of the wl_surface. The actual gui is dynamic and therefore I cannot rely on a static layershell size. I could not find a suitable api accessible through iced_layershell.
I have two suggestions for solutions:
Although not necessary for this issue, it might be useful to consider support for setting the opaque_region as well.
The text was updated successfully, but these errors were encountered: