Commit 0c19501eebe65277f8a8439ceae912943c5f27ec

Ryan C. Gordon 2015-07-11T00:59:56

x11: Patched to compile on systems without the Xutf8LookupString() function.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/video/x11/SDL_x11events.c b/src/video/x11/SDL_x11events.c
index 309c380..313753d 100644
--- a/src/video/x11/SDL_x11events.c
+++ b/src/video/x11/SDL_x11events.c
@@ -808,7 +808,7 @@ X11_DispatchEvent(_THIS)
                                   &keysym, &status);
             }
 #else
-            XLookupString(&xevent.xkey, text, sizeof(text), &keysym, NULL);
+            X11_XLookupString(&xevent.xkey, text, sizeof(text), &keysym, NULL);
 #endif
 
 #ifdef SDL_USE_IBUS