changeset 29947:b7556fa4c05b

(x_window) [!USE_XIM]: Don't call create_frame_ic.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 26 Jun 2000 15:39:25 +0000
parents 2ff9078eac87
children bf5da5d2d690
files src/xfns.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Mon Jun 26 15:39:03 2000 +0000
+++ b/src/xfns.c	Mon Jun 26 15:39:25 2000 +0000
@@ -3522,8 +3522,10 @@
 
 #ifdef HAVE_X_I18N
   FRAME_XIC (f) = NULL;
+#ifdef USE_XIM
   create_frame_xic (f);
 #endif
+#endif
 
   f->output_data.x->wm_hints.input = True;
   f->output_data.x->wm_hints.flags |= InputHint;
@@ -3625,6 +3627,7 @@
 		     attribute_mask, &attributes);
 
 #ifdef HAVE_X_I18N
+#ifdef USE_XIM
   create_frame_xic (f);
   if (FRAME_XIC (f))
     {
@@ -3636,6 +3639,7 @@
       XChangeWindowAttributes (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f),
 			       attribute_mask, &attributes);
     }
+#endif
 #endif /* HAVE_X_I18N */
   
   validate_x_resource_name ();