diff src/xterm.c @ 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 5a1524631bca
children 3ad13f2b6ea0
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
 	}