From 4bd777b8571418cb0b34aeaf258e07c722cf85da Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 26 Jun 2000 15:39:25 +0000 Subject: [PATCH] (x_window) [!USE_XIM]: Don't call create_frame_ic. --- src/xfns.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/xfns.c b/src/xfns.c index 8e66abbfa7..bb6a554263 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -3522,7 +3522,9 @@ x_window (f, window_prompting, minibuffer_only) #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; @@ -3625,6 +3627,7 @@ x_window (f) attribute_mask, &attributes); #ifdef HAVE_X_I18N +#ifdef USE_XIM create_frame_xic (f); if (FRAME_XIC (f)) { @@ -3636,6 +3639,7 @@ x_window (f) XChangeWindowAttributes (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), attribute_mask, &attributes); } +#endif #endif /* HAVE_X_I18N */ validate_x_resource_name (); -- 2.20.1