Received: from eggs.gnu.org ([208.118.235.92]:35037) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SV9Qf-0002Y4-Rv for qemu-devel@nongnu.org; Thu, 17 May 2012 18:44:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SV9Qe-0003A7-6o for qemu-devel@nongnu.org; Thu, 17 May 2012 18:44:17 -0400 Received: from mail-wg0-f53.google.com ([74.125.82.53]:59658) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SV9Qe-00039u-0b for qemu-devel@nongnu.org; Thu, 17 May 2012 18:44:16 -0400 Received: by wgbfm10 with SMTP id fm10so2221409wgb.10 for ; Thu, 17 May 2012 15:44:12 -0700 (PDT) Date: Thu, 17 May 2012 23:44:10 +0100 From: James Hogan Message-ID: <20120517224409.GA18682@balrog.le.imgtec.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] Cursor hidden with emulated touchscreen List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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