changeset 14942:3432e5570488

(x_destroy_window): Do call XCloseIM if X11R6.
author Richard M. Stallman <rms@gnu.org>
date Fri, 05 Apr 1996 16:03:20 +0000
parents 7e8ee35d0fb9
children 2c44547d2364
files src/xterm.c
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Thu Apr 04 22:06:47 1996 +0000
+++ b/src/xterm.c	Fri Apr 05 16:03:20 1996 +0000
@@ -5558,9 +5558,10 @@
       if (FRAME_XIM (f))
 	{
 	  XDestroyIC (FRAME_XIC (f));
-#ifndef SOLARIS2 /* This code causes crashes on Solaris 2.3 and 2.5,
-		    due to an apparent bug in XCloseIM.
-		    The bug may be only in Openwin and not in X11R6.  */
+#if ! defined (SOLARIS2) || defined (HAVE_X11R6)
+	  /* This line causes crashes on Solaris with Openwin,
+	     due to an apparent bug in XCloseIM.
+	     X11R6 seems not to have the bug.  */
 	  XCloseIM (FRAME_XIM (f));
 #endif
 	}