diff -urN SDL-1.2.13-orig/src/video/x11/SDL_x11video.c SDL-1.2.13/src/video/x11/SDL_x11video.c
--- SDL-1.2.13-orig/src/video/x11/SDL_x11video.c	2007-12-31 13:48:13 +0900
+++ SDL-1.2.13/src/video/x11/SDL_x11video.c	2009-06-11 04:34:41 +0900
@@ -415,6 +415,7 @@
 	}
     }
 
+#if 0
 	/* Setup the communication with the IM server */
 	/* create_aux_windows may be called several times against the same
 	   Display.  We should reuse the SDL_IM if one has been opened for
@@ -549,6 +550,7 @@
 		}
 	}
 	#endif
+#endif  // 0
 
 	/* Allow the window to be deleted by the window manager */
 	XSetWMProtocols(SDL_Display, WMwindow, &WM_DELETE_WINDOW, 1);
