New last cursor position must rely on the clamped coordinates.
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403592
This commit is contained in:
parent
d01b767241
commit
820895189c
1 changed files with 2 additions and 2 deletions
|
@ -473,8 +473,8 @@ SDL_SendMouseMotion(int id, int relative, int x, int y, int pressure)
|
||||||
event.motion.cursor = mouse->current_end;
|
event.motion.cursor = mouse->current_end;
|
||||||
posted = (SDL_PushEvent(&event) > 0);
|
posted = (SDL_PushEvent(&event) > 0);
|
||||||
}
|
}
|
||||||
mouse->last_x = x;
|
mouse->last_x = mouse->x;
|
||||||
mouse->last_y = y;
|
mouse->last_y = mouse->y;
|
||||||
return posted;
|
return posted;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue