Closed rfolland closed 6 years ago
The event loop is not neccessary, it is sufficient to just do an (sdl2:pump-events). But the cursor is only present when I have a keyboard and mouse connected. Which I do not need for this system, so that is a workaround for me anyway.
I found that hide-cursor has no effect unless I use with-event-loop. Using an ordinary do loop and rendering I cannot get the cursor to hide, neither in windowed or fullscreen-desktop mode. Just adding a with-event-loop polling for events in my do loop makes the cursor hide.
I am running this in Wayland/Weston on Arch Linux.