We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1916

Summary: SDL_Keysym contains a deprecated field for unicode which may be removed.
Product: SDL Reporter: Philipp Wiesemann <philipp.wiesemann>
Component: eventsAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: API change    
Priority: P2 CC: llxxnntt
Version: HG 2.0   
Hardware: All   
OS: All   

Description Philipp Wiesemann 2013-06-15 11:29:36 UTC
Hello,

SDL_Keysym contains a deprecated field for unicode which may be removed for SDL 2.0 release.

As far as I can tell the field is not set on all "major" platforms and therefore will not be useful for most users. Its existence in a public header therefore becomes (in my opinion) only confusing.

The field it currently still used in DirectFB (src/video/directfb/SDL_DirectFB_events.c) but it looks more like an implementation detail which may also be removed.
Comment 1 Sam Lantinga 2013-06-18 03:40:15 UTC
I agree. Fixed!
http://hg.libsdl.org/SDL/rev/b36811d7db33
Comment 2 Alexander Sabourenkov 2014-06-21 15:37:19 UTC
Please disregard the above.

Seems like flooding a process under gdb with ptrace_attach() calls (which most, but not all, fail as expected) sometimes, rarely, causes pthreah_cond_timedwait() to return EINVAL.

I have no idea why is this happening or what to do with that, so let's just skip that very corner case.
Comment 3 Sam Lantinga 2014-06-21 18:06:14 UTC
Comment above was for a different bug.