qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Cursor hidden with emulated touchscreen
@ 2012-05-17 22:44 James Hogan
  0 siblings, 0 replies; only message in thread
From: James Hogan @ 2012-05-17 22:44 UTC (permalink / raw)
  To: qemu-devel

Hi,

Since updating to QEMU v1.0 I've had a problem with automatic mouse
grab. Whenever I move the mouse over the QEMU window it seems to make
the mouse cursor invisible, but the input device being emulated is a
touchscreen providing absolute coordinates so the software in the
emulator doesn't provide a cursor either. This makes it somewhat hard to
know where I am clicking.

I can get the cursor to stop disappearing by commenting out
SDL_SetCursor(sdl_cursor_hidden);
in sdl_hide_cursor() in ui/sdl.c, but I suspect there's something else
wrong for this to be happening.

The touchscreen hardware is set up with qemu_add_mouse_event_handler()
with argument "absolute" set to 1.

Does anybody have any idea whether this is expected behaviour for
emulated touchscreens, and if not what I might be doing wrong to cause
the cursor to disappear?

Thanks
James

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-05-17 22:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-17 22:44 [Qemu-devel] Cursor hidden with emulated touchscreen James Hogan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).