Commit d0ab8af6 authored by Laurent Aimar's avatar Laurent Aimar

Do not filter out mouse coordinates (caca).

parent 7881746e
...@@ -498,10 +498,7 @@ static void Manage(vout_display_t *vd) ...@@ -498,10 +498,7 @@ static void Manage(vout_display_t *vd)
vd->source.i_visible_height / place.height; vd->source.i_visible_height / place.height;
caca_set_mouse(sys->dp, 1); 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; break;
} }
case CACA_EVENT_MOUSE_PRESS: case CACA_EVENT_MOUSE_PRESS:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment