qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] git bisect results


From: erik . rull
Subject: Re: [Qemu-devel] git bisect results
Date: Wed, 25 Jan 2012 12:48:33 +0100

Hi Jan,

This little change fixes my problem with the usb-tablet update rate.

Can you please verify if this has some side effects?

If not, can you post a real patch?
I don't know how to handle the whole patching and committing stuff exactly.

Thanks.

Erik

-- 

diff --git a/ui/sdl.c b/ui/sdl.c
index 8cafc44..ecd70db 100644
--- a/ui/sdl.c
+++ b/ui/sdl.c
@@ -769,7 +769,7 @@ static void handle_mousemotion(DisplayState *ds,
SDL_Event *ev)
 {
     int max_x, max_y;

-    if (is_graphic_console() &&
+/*    if (is_graphic_console() &&
         (kbd_mouse_is_absolute() || absolute_enabled)) {
         max_x = real_screen->w - 1;
         max_y = real_screen->h - 1;
@@ -782,7 +782,7 @@ static void handle_mousemotion(DisplayState *ds,
SDL_Event *ev)
             ev->motion.y > 0 && ev->motion.y < max_y)) {
             sdl_grab_start();
         }
-    }
+    }*/
     if (gui_grab || kbd_mouse_is_absolute() || absolute_enabled) {
         sdl_send_mouse_event(ev->motion.xrel, ev->motion.yrel, 0,
                              ev->motion.x, ev->motion.y, ev->motion.state);





reply via email to

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