All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alex" <consul@collegeclub.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: Mouse gets stuck w/ qemu-0.8.1 running Windows2000/XP
Date: Thu, 15 Jun 2006 02:54:56 -0000	[thread overview]
Message-ID: <e6qi52$ppk$1@sea.gmane.org> (raw)
In-Reply-To: Pine.LNX.4.63.0606131454080.28618@wbgn013.biozentrum.uni-wuerzburg.de

... And a workable patch was proposed many times in the past, but never 
committed. I had to manually apply it every time I updated my sources from 
CVS. Are there any known issues with the patch?

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);
     }
 }


-- 
Alex.

"Johannes Schindelin" <Johannes.Schindelin@gmx.de> wrote in message 
news:Pine.LNX.4.63.0606131454080.28618@wbgn013.biozentrum.uni-wuerzburg.de...
> Hi,
>
> On Tue, 13 Jun 2006, Agustin Barto wrote:
>
>> I'm running WindowsXP (the problem is also present with Windows2000)
>> on qemu-0.8.1 over an FC5 host, and sometimes the mouse gets stuck at
>> some point (kinda like hitting a screen edge) and I have to "wiggle"
>> the mouse a bit to pass over this limit.
>>
>> I didn't have this problem with qemu-0.7.x and prior versions.
>
> Funny. It seems that there have been quite a few messages on this list,
> which address exactly your problem. The latest such message was even only
> a few minutes ago.
>
> Ciao,
> Dscho 

      reply	other threads:[~2006-06-15  2:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-13 12:32 [Qemu-devel] Mouse gets stuck w/ qemu-0.8.1 running Windows2000/XP Agustin Barto
2006-06-13 12:54 ` Johannes Schindelin
2006-06-15  2:54   ` Alex [this message]

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='e6qi52$ppk$1@sea.gmane.org' \
    --to=consul@collegeclub.com \
    --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.