[vlc-devel] commit: Do not filter out mouse coordinates (sdl). (Laurent Aimar )
git version control
git at videolan.org
Sun Nov 1 12:46:58 CET 2009
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Nov 1 12:39:36 2009 +0100| [7881746e58f8704cb74f3592d2841bd2e5cf3fbf] | committer: Laurent Aimar
Do not filter out mouse coordinates (sdl).
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7881746e58f8704cb74f3592d2841bd2e5cf3fbf
---
modules/video_output/sdl.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/modules/video_output/sdl.c b/modules/video_output/sdl.c
index 81f4789..bb25cb8 100644
--- a/modules/video_output/sdl.c
+++ b/modules/video_output/sdl.c
@@ -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;
}
More information about the vlc-devel
mailing list