[NOT AN ISSUE] SDL_SetWindowMouseRect() doesn't confine the cursor on Weston until confinement area is clicked
The commonly used
SDL_SetWindowMouseRect() SDL2 function doesn't confine the cursor on the Weston compositor.
The code to this particular function is here:
I have been trying to debug it. The values passed to
wl_region_add() are correct, so it seems that either
Sometimes, however, in Scummvm things seem to work and cursor is indeed confined in fullscreen mode + aspect ratio correction.
Things work perfectly well on Sway, but in tinywl cursor isn't confined either.
Not easy to debug because setting breakpoints in
zwp_confined_pointer_v1_add_listener() are both done via
Any idea on what could be happening here?