Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dsbhayangkara
SDL
217_x11_keytounicode.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 217_x11_keytounicode.diff of Package SDL
--- src/video/x11/SDL_x11events.c.orig 2007-12-31 11:48:13.000000000 +0700 +++ src/video/x11/SDL_x11events.c 2008-03-10 23:05:18.000000000 +0700 @@ -1223,8 +1223,11 @@ * sequences (dead accents, compose key sequences) will not work since the * state has been irrevocably lost. */ +extern DECLSPEC Uint16 SDLCALL X11_KeyToUnicode(SDLKey, SDLMod); + Uint16 X11_KeyToUnicode(SDLKey keysym, SDLMod modifiers) { + static int warning = 1; struct SDL_VideoDevice *this = current_video; char keybuf[32]; int i; @@ -1232,6 +1235,12 @@ XKeyEvent xkey; Uint16 unicode; + if ( warning ) { + warning = 0; + fprintf(stderr, "WARNING: Application is using X11_KeyToUnicode().\n"); + fprintf(stderr, "This is not an official SDL function, please report this as a bug.\n"); + } + if ( !this || !SDL_Display ) { return 0; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor