comparison src/video/x11/SDL_x11video.c @ 1327:d12a63a8d95a

Resolved bug #130 Use XFilterEvent() to handle dead-key composition under X11 Cleaned up the code in preparation for 1.3 API changes
author Sam Lantinga <slouken@libsdl.org>
date Sat, 04 Feb 2006 08:35:11 +0000
parents 1dfc85090d07
children 3692456e7b0f
comparison
equal deleted inserted replaced
1326:9439c2f1da89 1327:d12a63a8d95a
951 CWBackingStore, &a); 951 CWBackingStore, &a);
952 } 952 }
953 } 953 }
954 954
955 /* Update the internal keyboard state */ 955 /* Update the internal keyboard state */
956 X11_SetKeyboardState(SDL_Display, SDL_IC, NULL); 956 X11_SetKeyboardState(SDL_Display, NULL);
957 957
958 /* When the window is first mapped, ignore non-modifier keys */ 958 /* When the window is first mapped, ignore non-modifier keys */
959 { 959 {
960 Uint8 *keys = SDL_GetKeyState(NULL); 960 Uint8 *keys = SDL_GetKeyState(NULL);
961 for ( i = 0; i < SDLK_LAST; ++i ) { 961 for ( i = 0; i < SDLK_LAST; ++i ) {