qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] GTK GUI for QEmu


From: Oliver Gerlich
Subject: Re: [Qemu-devel] GTK GUI for QEmu
Date: Fri, 11 Nov 2005 17:13:43 +0100
User-agent: Mozilla Thunderbird 1.0.6-1 (X11/20050804)

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]