iced-yoda/winit/src/platform_specific
Ian Douglas Scott fde0689def
winit/wayland: Subsurfaces for drag surfaces
Use `Icon::Surface` instead of `Icon::Buffer`, so we can then create
subsurfaces of the `wl_surface`.

Using `.screenshot()` then copying to an shm buffer is suboptimal, but
this does seem overall better than with the older Iced version when a
drag surface didn't appear until a Vulkan surface could be created for
it.

This re-uses `Connection` in the platform-specific code, instead of
creating from display handle on each call.
2026-01-23 14:00:38 -05:00
..
wayland winit/wayland: Subsurfaces for drag surfaces 2026-01-23 14:00:38 -05:00
mod.rs winit/wayland: Subsurfaces for drag surfaces 2026-01-23 14:00:38 -05:00