mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-29 01:34:29 +01:00
The framework port removed the check for a missing cursor theme. The framework's cursor service paints a tool cursor only while the shell has Caps::SYSTEM_CURSOR, and the shell always had it on Linux. On a Wayland session where no cursor theme loads, winit cannot hide or set the pointer, so the compositor's pointer stayed and the tool cursor was painted next to it. cursor_theme.rs gets theme_usable and theme_missing back, and shell_caps leaves out Caps::SYSTEM_CURSOR on Wayland when no theme loads. The window then shows the system pointer alone, as it did before the port (#5734). Sessions with a cursor theme, X11 and XWayland are unchanged.