From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fqi0V-0005m7-JP for qemu-devel@nongnu.org; Wed, 14 Jun 2006 22:54:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fqi0S-0005lP-5X for qemu-devel@nongnu.org; Wed, 14 Jun 2006 22:54:54 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fqi0R-0005lM-V5 for qemu-devel@nongnu.org; Wed, 14 Jun 2006 22:54:51 -0400 Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Fqi9k-0005c9-NX for qemu-devel@nongnu.org; Wed, 14 Jun 2006 23:04:28 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Fqi0G-0002ki-CL for qemu-devel@nongnu.org; Thu, 15 Jun 2006 04:54:40 +0200 Received: from pool-71-245-101-142.ptldor.fios.verizon.net ([71.245.101.142]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Jun 2006 04:54:40 +0200 Received: from consul by pool-71-245-101-142.ptldor.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Jun 2006 04:54:40 +0200 From: "Alex" Message-ID: References: <6e8527be0606130532v3b78ffa4q98e214c95301899a@mail.gmail.com> Sender: news Subject: [Qemu-devel] Re: Mouse gets stuck w/ qemu-0.8.1 running Windows2000/XP Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Thu, 15 Jun 2006 02:54:56 -0000 To: qemu-devel@nongnu.org ... And a workable patch was proposed many times in the past, but never committed. I had to manually apply it every time I updated my sources from CVS. Are there any known issues with the patch? 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); } } -- Alex. "Johannes Schindelin" wrote in message news:Pine.LNX.4.63.0606131454080.28618@wbgn013.biozentrum.uni-wuerzburg.de... > Hi, > > On Tue, 13 Jun 2006, Agustin Barto wrote: > >> I'm running WindowsXP (the problem is also present with Windows2000) >> on qemu-0.8.1 over an FC5 host, and sometimes the mouse gets stuck at >> some point (kinda like hitting a screen edge) and I have to "wiggle" >> the mouse a bit to pass over this limit. >> >> I didn't have this problem with qemu-0.7.x and prior versions. > > Funny. It seems that there have been quite a few messages on this list, > which address exactly your problem. The latest such message was even only > a few minutes ago. > > Ciao, > Dscho