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

index 57f9b40eb722e323e60fc3f5cf9cba0690b652d5..e70bbe2b1a6840e40a73b05cd2691d7859d3501d 100644 (file)
@@ -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: