Commit 82089518 authored by Mike Gorchak's avatar Mike Gorchak

New last cursor position must rely on the clamped coordinates.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403592
parent d01b7672
......@@ -473,8 +473,8 @@ SDL_SendMouseMotion(int id, int relative, int x, int y, int pressure)
event.motion.cursor = mouse->current_end;
posted = (SDL_PushEvent(&event) > 0);
}
mouse->last_x = x;
mouse->last_y = y;
mouse->last_x = mouse->x;
mouse->last_y = mouse->y;
return posted;
}
......
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