From c825b167e9c08afaec23721f983ba003d86b838a Mon Sep 17 00:00:00 2001 From: kub Date: Wed, 14 Feb 2024 23:23:50 +0100 Subject: [PATCH] fix event handling regression --- in_sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/in_sdl.c b/in_sdl.c index b36beee..5566edb 100644 --- a/in_sdl.c +++ b/in_sdl.c @@ -412,8 +412,8 @@ static int collect_events(struct in_sdl_state *state, int *one_kc, int *one_down if (one_down != NULL) *one_down = 1; } else - i++; #endif + i++; // don't lose events other devices might want to handle if (i < count) SDL_PeepEvents(events+i, count-i, SDL_ADDEVENT, mask); -- 2.39.5