mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-05 17:36:25 +00:00
Revert "Fix relative mouse input for Unvanquished (unvanquished.net)"
This reverts commit 3318590796
.
Fixes https://github.com/libsdl-org/SDL/issues/5569
This commit is contained in:
@@ -410,7 +410,6 @@ SDL_PrivateSendMouseMotion(SDL_Window * window, SDL_MouseID mouseID, int relativ
|
|||||||
mouse->x = x;
|
mouse->x = x;
|
||||||
mouse->y = y;
|
mouse->y = y;
|
||||||
mouse->has_position = SDL_TRUE;
|
mouse->has_position = SDL_TRUE;
|
||||||
return 0;
|
|
||||||
} else if (!xrel && !yrel) { /* Drop events that don't change state */
|
} else if (!xrel && !yrel) { /* Drop events that don't change state */
|
||||||
#ifdef DEBUG_MOUSE
|
#ifdef DEBUG_MOUSE
|
||||||
SDL_Log("Mouse event didn't change state - dropped!\n");
|
SDL_Log("Mouse event didn't change state - dropped!\n");
|
||||||
|
Reference in New Issue
Block a user