This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SDL_x11events.c: properly handle input focus events (fix bug #5426)
From firstname.lastname@example.org: Since some time I stated to observe an annoying bug with the forward movement suddenly stopping while I was still pressing the corresponding key for the forward movement. Releasing and pressing the key again continued the movement. I observed this in the game "Unreal Tournament 2004", but other software is probably also affected. The stop basically happens after a few minutues of pressing the key, though the time needed to reproduce the issue is not constant. While investigating the issue I found it started with a commit  in the Xorg xserver. Digging deeper into the code I found two commits   in libsdl2 which looked like they would also fix the issue in libsdl1.2. I backported these two commits to the libsdl1.2 in Debian and can confirm that the bug got fixed by this.  https://cgit.freedesktop.org/xorg/xserver/commit/?id=c67f2eac56518163981af59f5accb7c79bc00f6a  https://hg.libsdl.org/SDL/rev/a1c4c17410e8  https://hg.libsdl.org/SDL/rev/764129077d18
- Loading branch information
Showing 3 changed files with 18 additions and 0 deletions.