Skip to content

sdl2: Fix relative mouse mode

Cole Robinson qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2input: sdl2: Fix guest_cursor logicui/sdl2.c+11 -70 replies
2/2input: sdl2: Fix relative mode to match SDL1 behaviorui/sdl2.c+2 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] sdl2: Fix relative mouse mode

sdl.c received a fix for relative mouse mode, but it wasn't copied to sdl2.c.

Patch #2 uses new SDL2 API to make relative mode behave similar to sdl.c, but I'm not fully confident that it's safe. See patch comments.

Also, relative mode is a mess in gtk as well. I started fixing these only to find that patches were already posted:

https://lists.gnu.org/archive/html/qemu-devel/2014-02/msg02278.html

Cole Robinson (2):
input: sdl2: Fix guest_cursor logic
input: sdl2: Fix relative mode to match SDL1 behavior

 ui/sdl2.c | 21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)
Signature · 1 line
1.9.0