| Summary: | SDL_EnableUNICODE sometimes drops keyboard events completely | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Rafał Mużyło <galtgendo> |
| Component: | events | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | renesd, sezeroz |
| Version: | 1.2.15 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Attachments: |
change that sems to make a difference
a slight correction of the previous patch |
||
|
Description
Rafał Mużyło
2013-12-24 04:26:03 UTC
Created attachment 1510 [details]
change that sems to make a difference
This patch is based on the one in the mentioned above thread. It *seems* to fix the problem.
Of course:
- it's an obvious case of cargo cult, so no idea of how correct it actually is
- given the random nature of the freeze, I'm not even 10% if it really prevent the freeze or simply *significantly* delays it
Though that little note on XEventFilter manpage at the end of description makes me wonder...
Created attachment 1545 [details]
a slight correction of the previous patch
Previous version affected input in the way it shouldn't have - corrected it a little.
I think this is the bug that affects uHexen2: http://sourceforge.net/p/uhexen2/discussion/425207/thread/6f168cfb/ Is there any intention of fixing it in SDL-1.2? Fixed, thanks! https://hg.libsdl.org/SDL/rev/0aade9c0203f Arch Linux includes this patch: https://git.archlinux.org/svntogit/packages.git/tree/trunk/SDL-1.2.15-SDL_EnableUNICODE_drops_keyboard_events.patch?h=packages/sdl (In reply to Rene Dudfield from comment #5) > Arch Linux includes this patch: > https://git.archlinux.org/svntogit/packages.git/tree/trunk/SDL-1.2.15- > SDL_EnableUNICODE_drops_keyboard_events.patch?h=packages/sdl That patch is already in the SDL-1.2 branch. |