Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed XIM crash when locale is set to something not supported by X11.

  • Loading branch information
slouken committed Mar 15, 2013
1 parent a1e8147 commit 131575f013b3c776f7f443050dda6bc21d4b7fae
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/video/x11/SDL_x11window.c
@@ -220,7 +220,7 @@ SetupWindowData(_THIS, SDL_Window * window, Window w, BOOL created)
data->window = window;
data->xwindow = w;
#ifdef X_HAVE_UTF8_STRING
if (SDL_X11_HAVE_UTF8) {
if (SDL_X11_HAVE_UTF8 && videodata->im) {
data->ic =
pXCreateIC(videodata->im, XNClientWindow, w, XNFocusWindow, w,
XNInputStyle, XIMPreeditNothing | XIMStatusNothing,

0 comments on commit 131575f

Please sign in to comment.