From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BH7Oi-0005sW-Lh for qemu-devel@nongnu.org; Fri, 23 Apr 2004 16:35:44 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BH7OB-0005hA-1D for qemu-devel@nongnu.org; Fri, 23 Apr 2004 16:35:42 -0400 Received: from [38.113.3.71] (helo=twix.hotpop.com) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BH7OA-0005fi-5b for qemu-devel@nongnu.org; Fri, 23 Apr 2004 16:35:10 -0400 Received: from phreaker.net (kubrick.hotpop.com [38.113.3.103]) by twix.hotpop.com (Postfix) with SMTP id ABE86EF3309 for ; Fri, 23 Apr 2004 20:17:09 +0000 (UTC) Received: from jbrown.mylinuxbox.org (pcp02555028pcs.batlfl01.tn.comcast.net [68.60.22.179]) by smtp-1.hotpop.com (Postfix) with ESMTP id 8107A1A013E for ; Fri, 23 Apr 2004 19:50:58 +0000 (UTC) Date: Fri, 23 Apr 2004 16:35:18 -0400 From: "Jim C. Brown" Message-ID: <20040423203518.GA19728@jbrown.mylinuxbox.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] [SDL] Problem with mouse grabbing 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 Why does qemu grab the mouse? Sometimes, when it is closing, I will forget to press Ctrl-Shift, and the mouse ends up being unusable. This got very old in a very short amount of time, so I edited sdl.c to simply "follow" the X mouse pointer, ala VNC-style, and it works. There is a strange bug, but aside from that it works perfectly. I find this more convenient for handling the mouse. My question is: why does qemu grab the mouse pointer instead of just following it? Is this for technical reasons or just because the VM looks nicer that way? P.S. The strange bug is simply that the virtual mouse pointer moves a little bit faster than the real mouse pointer. It's annoying but still usable, although it does cause the virtual mouse pointer to show up in odd places every now and then. -- Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.