From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HTg48-00085G-JH for qemu-devel@nongnu.org; Tue, 20 Mar 2007 11:16:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HTg46-000850-4Z for qemu-devel@nongnu.org; Tue, 20 Mar 2007 11:15:59 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HTg46-00084x-1X for qemu-devel@nongnu.org; Tue, 20 Mar 2007 10:15:58 -0500 Received: from phoenix.bawue.net ([193.7.176.60] helo=mail.bawue.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HTg2V-0004Iz-Q0 for qemu-devel@nongnu.org; Tue, 20 Mar 2007 11:14:19 -0400 Date: Tue, 20 Mar 2007 15:08:48 +0000 Subject: Re: [Qemu-devel] [PATCH] Guest mouse cursor drawing in SDL Message-ID: <20070320150848.GC2311@networkno.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: From: Thiemo Seufer Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: andrzej zaborowski Cc: qemu-devel@nongnu.org andrzej zaborowski wrote: > This should allow the emulated video cards that support hardware > accelerated cursors to relay the cursor drawing to host, possibly > using real hardware cursor. This way the guest and host effectively > share one cursor. Only SDL support is included. Not tested with mice > that report absolute coordinates. > > The cursor does not appear in the framebuffer seen by the guest, it's > only drawn on the host. One funny effect is that it's not clipped to > the size of the framebuffer and can stick out of the SDL window. > > I think the sdl.c could use a small rewrite to have all cursor hiding > and showing in one place instead of spread across the file. > > VNC support would need employing an extension for this, according to > Anthony Liguori. VMware made a documented VNC extension that does it. > From 3cf77a8b3c80b0306a0e73677ac6faeb1f83e0a2 Mon Sep 17 00:00:00 2001 > From: Andrzej Zaborowski > Date: Sun, 11 Mar 2007 15:31:12 +0100 > Subject: [PATCH] Host-accelerated mouse cursor support in SDL. This patch breaks scrolling in the cirrus vga framebuffer. Thiemo