SDL 1.3 TextInput on Linux

Hello guys,

I found another bug in SDL 1.3, this time it’s on Linux.

Some keys like Enter, BackSpace or Delete will trigger KeyDown event,
but will also trigger TextInput event. This behaviour is not present
on MacOSX so I’m not sure which of them is correct. Can somebody
clarify / fix this?

I will try to verify today what is the situation with Windows version
of SDL.

regards,—
Pavel Kanzelsberger


E-Mail: pavel at kanzelsberger.com
Jabber: kanzelsberger at jabber.org, ICQ: 20990633

I think this is a bug in the X11 driver. The TextInput event should
only be printable characters, I think.On Wed, Apr 21, 2010 at 3:43 AM, Pavel Kanzelsberger wrote:

Hello guys,
I found another bug in SDL 1.3, this time it’s on Linux.
Some keys like Enter, BackSpace or Delete will trigger KeyDown event, but
will also trigger TextInput event. This behaviour is not present on MacOSX
so I’m not sure which of them is correct. Can somebody clarify / fix this?
I will try to verify today what is the situation with Windows version of
SDL.
regards,

Pavel Kanzelsberger
http://www.kanzelsberger.com
E-Mail: pavel at kanzelsberger.com
Jabber: kanzelsberger at jabber.org,?ICQ: 20990633


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


-Sam Lantinga, Founder and President, Galaxy Gameworks LLC