Commit 7881746e authored by Laurent Aimar's avatar Laurent Aimar

Do not filter out mouse coordinates (sdl).

parent 6f66d799
...@@ -645,8 +645,6 @@ static void Manage(vout_display_t *vd) ...@@ -645,8 +645,6 @@ 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; const int y = (int64_t)(event.motion.y - sys->place.y) * vd->source.i_height / sys->place.height;
SDL_ShowCursor(1); 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; break;
} }
......
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