From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fbq6P-0007an-1J for qemu-devel@nongnu.org; Thu, 04 May 2006 22:31:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fbq6N-0007aH-Pg for qemu-devel@nongnu.org; Thu, 04 May 2006 22:31:32 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fbq6N-0007aE-KU for qemu-devel@nongnu.org; Thu, 04 May 2006 22:31:31 -0400 Received: from [32.97.110.153] (helo=e35.co.us.ibm.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Fbq6R-000772-E3 for qemu-devel@nongnu.org; Thu, 04 May 2006 22:31:35 -0400 Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com [9.17.195.11]) by e35.co.us.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k452VT4O019208 for ; Thu, 4 May 2006 22:31:29 -0400 Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167]) by westrelay02.boulder.ibm.com (8.12.10/NCO/VER6.8) with ESMTP id k452VTRc268820 for ; Thu, 4 May 2006 20:31:29 -0600 Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1]) by d03av01.boulder.ibm.com (8.12.11/8.13.3) with ESMTP id k452VSC5030448 for ; Thu, 4 May 2006 20:31:28 -0600 Received: from [9.65.124.136] (sig-9-65-124-136.mts.ibm.com [9.65.124.136]) by d03av01.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id k452VRhp030441 for ; Thu, 4 May 2006 20:31:28 -0600 Message-ID: <445AB8FE.9040003@us.ibm.com> Date: Thu, 04 May 2006 21:31:26 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] QEMU 0.8.1 References: <4459165F.7050605@bellard.org> <46d6db660605040513y3534fecdr5ffe4e632108e413@mail.gmail.com> <46d6db660605040524h1d5f1484mb3a4cf1e343d6984@mail.gmail.com> <46d6db660605040531q3a602d03yd8f25b23823e1424@mail.gmail.com> <170581c20605040751y5118c2en360b67901b2b27a5@mail.gmail.com> In-Reply-To: <170581c20605040751y5118c2en360b67901b2b27a5@mail.gmail.com> Content-Type: multipart/mixed; boundary="------------070109070502020506090007" Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This is a multi-part message in MIME format. --------------070109070502020506090007 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Thomas Han wrote: > Hi, > > For what it's worth. I have also seen this "invisible wall" problem > with my mouse for a few weeks off the CVS build too. Can you try out the following patch. *grumbles about SDL's brokenness* Regards, Anthony Liguori > Since 0.8.1 came out yesterday, Instead of using CVS build, I'm now > running Qemu 0.8.1 + kqemu-1.3.0pre6. My host OS is FC5 and I'm > running XP inside it. > > Thanks, > Thomas > > On 5/4/06, *Christian MICHON* < christian.michon@gmail.com > > wrote: > > qemu 0.8.0 does not show this invisible barrier issue. > if this is worth anything, I use SDL 1.2.9. > > If someone can reproduce the issue also on linux hosts, > there could be a lead. > > On 5/4/06, Christian MICHON > wrote: > > I removed manually vnc_display_init, and this is not the culprit... > > I'll check anyway versus qemu-0.8.0... > > > -- > Christian > > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel > > > ------------------------------------------------------------------------ > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel > --------------070109070502020506090007 Content-Type: text/plain; name="qemu-mouse-sdl.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="qemu-mouse-sdl.diff" diff -r 39a6dd1136c6 sdl.c --- a/sdl.c Thu May 04 04:13:13 2006 +0000 +++ b/sdl.c Thu May 04 21:30:11 2006 -0500 @@ -280,13 +280,18 @@ static void sdl_update_caption(void) static void sdl_hide_cursor(void) { - SDL_SetCursor(sdl_cursor_hidden); + if (kbd_mouse_is_absolute()) { + SDL_ShowCursor(1); + SDL_SetCursor(sdl_cursor_hidden); + } else { + SDL_ShowCursor(0); + } } static void sdl_show_cursor(void) { if (!kbd_mouse_is_absolute()) { - SDL_SetCursor(sdl_cursor_normal); + SDL_ShowCursor(1); } } --------------070109070502020506090007--