qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Dan Sandberg <dan.sandberg@medsci.uu.se>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] "invisible wall" patch
Date: Wed, 14 Jun 2006 16:37:56 +0200	[thread overview]
Message-ID: <44901F44.608@medsci.uu.se> (raw)
In-Reply-To: <200606131046.40921.jseward@acm.org>

Julian Seward wrote:

>Could somebody please commit, or at least consider committing, 
>Anthony Liguori's "invisible wall" patch, shown at 
>http://lists.gnu.org/archive/html/qemu-devel/2006-05/msg00112.html ?
>
>Without it, QEMU is essentially unusable on my SuSE 10 host; with it,
>the mouse stuff works perfectly.  A couple of other people on that
>thread had similar experiences with it.
>
>J
>
>
>_______________________________________________
>Qemu-devel mailing list
>Qemu-devel@nongnu.org
>http://lists.nongnu.org/mailman/listinfo/qemu-devel
>
>  
>
The patch works perfectly here (qemu 0.8.1 on Windows XP host). Without 
it I always get the invisible wall if I leave mousegrab and enter it 
again close to a window border.
It seems to me that SDL only reports pointer-deltas based on the 
movement of its own pointer (which is set invisible) and when this 
invisible pointer hits the window border you therefor only get delta=0 
even if the guest OS pointer is still somewhere in midscreen. (Setting 
the SDL pointer always visible gives a good illustration of what is 
going on.)
The guest-OS rather expects raw mouse movement deltas, than the filtered 
SDL-pointer deltas.

Somehow the patch seems to solve this, but I can't say that I understand 
how (not having looked into the SDL source code).

Regards
Dan Sandberg

  parent reply	other threads:[~2006-06-14 14:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-13  9:46 [Qemu-devel] "invisible wall" patch Julian Seward
2006-06-13 10:06 ` Michael McConnell
2006-06-13 10:15 ` Eric Hameleers
2006-06-13 13:40   ` Anthony Liguori
2006-06-14 14:37 ` Dan Sandberg [this message]
2006-06-17 16:32 ` [Qemu-devel] " Alex
2006-06-17 17:03   ` Rick Vernam
2006-06-17 17:24     ` Julian Seward
2006-06-18  0:03       ` [Qemu-devel] " Alex
2006-06-18  1:42         ` Thomas Han

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=44901F44.608@medsci.uu.se \
    --to=dan.sandberg@medsci.uu.se \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).