src/video/dga/SDL_dgaevents.c
changeset 1194 b8f167923bfc
parent 1168 045f186426e1
child 1306 0c105755b110
--- a/src/video/dga/SDL_dgaevents.c	Thu Dec 01 19:22:32 2005 +0000
+++ b/src/video/dga/SDL_dgaevents.c	Mon Dec 05 04:36:53 2005 +0000
@@ -36,10 +36,13 @@
 #include "SDL_dgavideo.h"
 #include "SDL_dgaevents_c.h"
 
+/* get function pointers... */
+#include "../x11/SDL_x11dyn.h"
+
 /* Heheh we're using X11 event code */
 extern int X11_Pending(Display *display);
 extern void X11_InitKeymap(void);
-extern SDL_keysym *X11_TranslateKey(Display *display, XKeyEvent *xkey,
+extern SDL_keysym *X11_TranslateKey(Display *display, XIC ic, XKeyEvent *xkey,
 				    KeyCode kc, SDL_keysym *keysym);
 
 static int DGA_DispatchEvent(_THIS)
@@ -84,7 +87,7 @@
 
 		SDL_NAME(XDGAKeyEventToXKeyEvent)(&xevent.xkey, &xkey);
 		posted = SDL_PrivateKeyboard((xevent.type == KeyPress), 
-					X11_TranslateKey(DGA_Display,
+					X11_TranslateKey(DGA_Display, NULL/*no XIC*/,
 							 &xkey, xkey.keycode,
 							 &keysym));
 	    }