SDL2, win32: properly handle negative mouse coordinates

This commit is contained in:
Thomas Bernard
2019-02-04 18:37:35 +01:00
parent 206c67e77c
commit 4c7c5bde77
3 changed files with 70 additions and 46 deletions

View File

@@ -49,7 +49,7 @@ int Has_shortcut(word function);
/// Adjust mouse sensitivity (and actual mouse input mode)
void Adjust_mouse_sensitivity(word fullscreen);
int Move_cursor_with_constraints(void);
int Move_cursor_with_constraints(int);
///
/// This holds the ID of the GUI control that the mouse