[vlc-devel] commit: Do not filter out mouse coordinates (caca). (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:41:33 2009 +0100| [d0ab8af6c9e58ace32ad70bb070d045577338cef] | committer: Laurent Aimar
Do not filter out mouse coordinates (caca).
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d0ab8af6c9e58ace32ad70bb070d045577338cef
---
modules/video_output/caca.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/modules/video_output/caca.c b/modules/video_output/caca.c
index 57f9b40..e70bbe2 100644
--- a/modules/video_output/caca.c
+++ b/modules/video_output/caca.c
@@ -498,10 +498,7 @@ static void Manage(vout_display_t *vd)
vd->source.i_visible_height / place.height;
caca_set_mouse(sys->dp, 1);
- if (x >= vd->source.i_x_offset && x < vd->source.i_x_offset + vd->source.i_visible_width &&
- y >= vd->source.i_y_offset && y < vd->source.i_y_offset + vd->source.i_visible_height) {
- vout_display_SendEventMouseMoved(vd, x, y);
- }
+ vout_display_SendEventMouseMoved(vd, x, y);
break;
}
case CACA_EVENT_MOUSE_PRESS:
More information about the vlc-devel
mailing list