From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FdbTI-0004lX-75 for qemu-devel@nongnu.org; Tue, 09 May 2006 19:18:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FdbTH-0004lL-Jo for qemu-devel@nongnu.org; Tue, 09 May 2006 19:18:27 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FdbTH-0004lI-HG for qemu-devel@nongnu.org; Tue, 09 May 2006 19:18:27 -0400 Received: from [66.249.82.202] (helo=wx-out-0102.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FdbUR-00053P-DK for qemu-devel@nongnu.org; Tue, 09 May 2006 19:19:39 -0400 Received: by wx-out-0102.google.com with SMTP id h26so1105991wxd for ; Tue, 09 May 2006 16:18:26 -0700 (PDT) Message-ID: <170581c20605091618k18f2617ajd4ff14b7ffa353fc@mail.gmail.com> Date: Tue, 9 May 2006 16:18:24 -0700 From: "Thomas Han" Subject: Re: [Qemu-devel] QEMU 0.8.1 In-Reply-To: <445AB8FE.9040003@us.ibm.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_85_18388581.1147216704365" References: <4459165F.7050605@bellard.org> <46d6db660605040513y3534fecdr5ffe4e632108e413@mail.gmail.com> <46d6db660605040524h1d5f1484mb3a4cf1e343d6984@mail.gmail.com> <46d6db660605040531q3a602d03yd8f25b23823e1424@mail.gmail.com> <170581c20605040751y5118c2en360b67901b2b27a5@mail.gmail.com> <445AB8FE.9040003@us.ibm.com> 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 ------=_Part_85_18388581.1147216704365 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Anthony, Sorry for the late reply. I did try out the patch with my local build and = I haven't see that "invisible wall" mouse problem for a few days now. Thanks very much, Thomas On 5/4/06, Anthony Liguori wrote: > > Thomas Han wrote: > > Hi, > > > > For what it's worth. I have also seen this "invisible wall" problem > > with my mouse for a few weeks off the CVS build too. > > Can you try out the following patch. *grumbles about SDL's brokenness* > > Regards, > > Anthony Liguori > > > Since 0.8.1 came out yesterday, Instead of using CVS build, I'm now > > running Qemu 0.8.1 + kqemu-1.3.0pre6. My host OS is FC5 and I'm > > running XP inside it. > > > > Thanks, > > Thomas > > > > On 5/4/06, *Christian MICHON* < christian.michon@gmail.com > > > wrote: > > > > qemu 0.8.0 does not show this invisible barrier issue. > > if this is worth anything, I use SDL 1.2.9. > > > > If someone can reproduce the issue also on linux hosts, > > there could be a lead. > > > > On 5/4/06, Christian MICHON > > wrote: > > > I removed manually vnc_display_init, and this is not the > culprit... > > > I'll check anyway versus qemu-0.8.0... > > > > > -- > > Christian > > > > > > _______________________________________________ > > Qemu-devel mailing list > > Qemu-devel@nongnu.org > > http://lists.nongnu.org/mailman/listinfo/qemu-devel > > > > > > -----------------------------------------------------------------------= - > > > > _______________________________________________ > > Qemu-devel mailing list > > Qemu-devel@nongnu.org > > http://lists.nongnu.org/mailman/listinfo/qemu-devel > > > > > > diff -r 39a6dd1136c6 sdl.c > --- a/sdl.c Thu May 04 04:13:13 2006 +0000 > +++ b/sdl.c Thu May 04 21:30:11 2006 -0500 > @@ -280,13 +280,18 @@ static void sdl_update_caption(void) > > static void sdl_hide_cursor(void) > { > - SDL_SetCursor(sdl_cursor_hidden); > + if (kbd_mouse_is_absolute()) { > + SDL_ShowCursor(1); > + SDL_SetCursor(sdl_cursor_hidden); > + } else { > + SDL_ShowCursor(0); > + } > } > > static void sdl_show_cursor(void) > { > if (!kbd_mouse_is_absolute()) { > - SDL_SetCursor(sdl_cursor_normal); > + SDL_ShowCursor(1); > } > } > > > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel > > > ------=_Part_85_18388581.1147216704365 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Anthony,

Sorry for the late reply.  I did try out the patch = with my local build and I haven't see that  "invisible wall"= mouse problem for a few days now.

Thanks very much,
Thomas
On 5/4/06, Anthon= y Liguori <aliguori@us.ibm.co= m> wrote:
Thomas Han wrote:
> Hi,
>
> For what it's worth. &nb= sp;I have also seen this "invisible wall" problem
> with my= mouse for a few weeks off the CVS build too.

Can you try out the fo= llowing patch.  *grumbles about SDL's brokenness*

Regards,

Anthony Liguori

> Since 0.8.1 came out ye= sterday, Instead of using CVS build, I'm now
> running Qemu 0.8.1 + k= qemu-1.3.0pre6.  My host OS is FC5 and I'm
> running XP ins= ide it.
>
> Thanks,
> Thomas
>
> On 5/4/06, *Christi= an MICHON* < christian.mic= hon@gmail.com
> <mailto: christian.michon@gmail.com>> wrote:
>
>  &n= bsp;  qemu 0.8.0 does not show this invisible barrier issue.
>&n= bsp;    if this is worth anything, I use SDL 1.2.9.
><= br>>     If someone can reproduce the issue also on = linux hosts,
>     there could be a lead.
>
>&nbs= p;    On 5/4/06, Christian MICHON <christian.michon@gmail.com
>  &= nbsp;  <mailto: christian.michon@gmail.com>> wrote:
>   &nbs= p; > I removed manually vnc_display_init, and this is not the culprit...=
>     > I'll check anyway versus qemu-0.8.0..= .
>     >
>     -- >     Christian
>
>
>  &= nbsp;  _______________________________________________
> &n= bsp;   Qemu-devel mailing list
>     Qemu-devel@nongnu.org <mailto= : Qemu-devel@nongnu.org>
>     http://lists.nongnu.org/= mailman/listinfo/qemu-devel
>
>
> -------------------= -----------------------------------------------------
>
> _______________________________________________
> Qe= mu-devel mailing list
> Qemu= -devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>


=
diff -r 39a6dd1136c6 sdl.c
--- a/sdl.c     Thu M= ay 04 04:13:13 2006 +0000
+++ b/sdl.c     Thu May 04= 21:30:11 2006 -0500
@@ -280,13 +280,18 @@ static void sdl_update_captio= n(void)

static void sdl_hide_cursor(void)
{
-   &nbs= p;SDL_SetCursor(sdl_cursor_hidden);
+    if (kbd_mou= se_is_absolute()) {
+       SDL_ShowCursor= (1);
+       SDL_SetCursor(sdl_cursor_hidd= en);
+    } else {
+       SDL_ShowCursor(0);
+ &nbs= p;  }
}

static void sdl_show_cursor(void)
{
&n= bsp;    if (!kbd_mouse_is_absolute()) {
-  &nbs= p;    SDL_SetCursor(sdl_cursor_normal);
+  &nbs= p;    SDL_ShowCursor(1);
     }
}



_______________________________________________
Qemu-d= evel mailing list
Qemu-devel@no= ngnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel



------=_Part_85_18388581.1147216704365--