All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabrice Bellard <fabrice@bellard.org>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [Patch] Release mouse at window edges
Date: Tue, 01 Mar 2005 22:28:22 +0100	[thread overview]
Message-ID: <4224DE76.4060803@bellard.org> (raw)
In-Reply-To: <6879.1109430585@www57.gmx.net>

The idea is interesting. Does it cause regressions in the normal mode ? 
If so, an option to enable it may be good. I think it is a problem that 
your patch is dependent on the cursor size.

Fabrice.

olig9@gmx.de wrote:
> Hello,
> the attached patch makes Qemu ungrab the mouse cursor when the guest mouse
> cursor hits the window edges. It also makes qemu automatically grab the
> mouse when the host mouse cursor enters the window.
> 
> The patch uses the hardware cursor position (in cirrus_vga.c); this means
> that it only works when the guest system uses a hardware cursor and when
> Cirrus VGA is used.
> 
> For Linux guest (tested with GamesKnoppix), it works when enabling
> "hw_cursor" in XF86Config-4 (in "Device" setion for "cirrus" driver).
> For Win98se, it works when setting display hardware acceleration to maximum
> and using the standard b/w, non-animated cursor set.
> For Win2k Professional, it requires a newer Cirrus driver (old standard
> Win2k driver for "GD5446 compatible" is from 1999, new driver from ISDCorp
> is from 2000). It can be found
> at
> <http://www.hofnet.com/fire/browse.asp?target=%5CCIRRUS%20LOGIC%5CCL-GD5446%5CDRIVERS%5CWIN2000>.
> Besides the new driver, you have to do the same as under Win98, and you must
> disable mouse shadow.
> 
> The patch applies cleanly to qemu-snapshot-2005-02-25_23.tar.bz2.
> 
> Oliver Gerlich

  parent reply	other threads:[~2005-03-01 21:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-26 15:09 [Qemu-devel] [Patch] Release mouse at window edges olig9
2005-02-27  4:37 ` Brad Campbell
2005-02-27  6:16   ` Brad Campbell
2005-03-01 21:28 ` Fabrice Bellard [this message]
2005-03-02  4:48   ` Brad Campbell
2005-03-02  9:53     ` Oliver Gerlich
2005-03-02 11:24       ` Hetz Ben Hamo
2005-03-02 20:06       ` olig9

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4224DE76.4060803@bellard.org \
    --to=fabrice@bellard.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.