Skip to content

Commit

Permalink
Revert "Fix relative mouse input for Unvanquished (unvanquished.net)"
Browse files Browse the repository at this point in the history
This reverts commit 3318590.

Fixes libsdl-org#5569
  • Loading branch information
slouken authored and icculus committed Apr 27, 2022
1 parent 6fdeb43 commit 8e345df
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/events/SDL_mouse.c
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,6 @@ SDL_PrivateSendMouseMotion(SDL_Window * window, SDL_MouseID mouseID, int relativ
mouse->x = x;
mouse->y = y;
mouse->has_position = SDL_TRUE;
return 0;
} else if (!xrel && !yrel) { /* Drop events that don't change state */
#ifdef DEBUG_MOUSE
SDL_Log("Mouse event didn't change state - dropped!\n");
Expand Down

0 comments on commit 8e345df

Please sign in to comment.