From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EabX9-0007oE-Rv for qemu-devel@nongnu.org; Fri, 11 Nov 2005 11:13:47 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EabX8-0007o2-9u for qemu-devel@nongnu.org; Fri, 11 Nov 2005 11:13:47 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EabX8-0007nz-7P for qemu-devel@nongnu.org; Fri, 11 Nov 2005 11:13:46 -0500 Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.34) id 1EabX8-0007lr-17 for qemu-devel@nongnu.org; Fri, 11 Nov 2005 11:13:46 -0500 Message-ID: <4374C337.7010002@gmx.de> Date: Fri, 11 Nov 2005 17:13:43 +0100 From: Oliver Gerlich MIME-Version: 1.0 Subject: Re: [Qemu-devel] GTK GUI for QEmu References: <43727329.8090407@codemonkey.ws> <4373D8A1.5040203@gmx.de> <20051111034526.GA14016@jbrown.mylinuxbox.org> In-Reply-To: <20051111034526.GA14016@jbrown.mylinuxbox.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 Jim C. Brown wrote: >>- -the software scaler is maybe a good idea, but for fullscreen mode, I'd >>better like to have screen resolution switched to qemu guest resolution >>(as it is with normal qemu now) > > > The problem is that is really hard to do. Especially in a cross platform > manner. > > I couldn't figure out how to scale it for full screen, but that was my original > plan. Another benefit of scaling is that you can resize the window without harm: > if the text is too small to read then just make the window bigger. > > >>- -sometimes the mouse can't be moved beyond some point on the guest >>screen... But I don't know when that happens and cannot really reproduce it > > > I think I know what you're talking about. I had this problem with my gtk code > as well. This is because the host and guest pointers are not 'sync'ed, so when > the host mouse hits the edge of the screen, the guest pointer also halts (even > if it's not at the edge). GTK provides no way to fix this - basically you need > to test when the pointer is at the edge and warp it to the opposite side. But > this requires platform specific code (however I did write up the X and Windows > versions). > > The cause of the problem becomes quite obvious if you don't make the host > pointer invisible when you grab the mouse. > Wouldn't these two things be solved by using SDL inside the GTK window? In current qemu, there are neither fullscreen nor mouse moving problems. Fabrice mentioned some time ago that SDL isn't the best choice on Windows because of keyboard issues... Is that still the case? Oliver PS: Arrg... no need to wonder why the mail doesn't appear on the list - I replied to Jim only. Here it is again.