]> git.sesse.net Git - vlc/commitdiff
Do not filter out mouse coordinates (sdl).
authorLaurent Aimar <fenrir@videolan.org>
Sun, 1 Nov 2009 11:39:36 +0000 (12:39 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Sun, 1 Nov 2009 11:39:36 +0000 (12:39 +0100)
modules/video_output/sdl.c

index 81f47892def4b8753384fb9b9afed89b2c325345..bb25cb861a576d6fe0cff936f0b2ccbb2e7f43fe 100644 (file)
@@ -645,9 +645,7 @@ static void Manage(vout_display_t *vd)
             const int y = (int64_t)(event.motion.y - sys->place.y) * vd->source.i_height / sys->place.height;
 
             SDL_ShowCursor(1);
-            if (x >= 0 && (unsigned)x < vd->source.i_width &&
-                y >= 0 && (unsigned)y < vd->source.i_height)
-                vout_display_SendEventMouseMoved(vd, x, y);
+            vout_display_SendEventMouseMoved(vd, x, y);
             break;
         }