changeset 14921:5a1524631bca

(x_destroy_window) [SOLARIS2]: Don't free the IC or IM.
author Richard M. Stallman <rms@gnu.org>
date Tue, 02 Apr 1996 00:34:57 +0000
parents b909bb3e64c9
children 1968e2da175c
files src/xterm.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Mon Apr 01 20:38:35 1996 +0000
+++ b/src/xterm.c	Tue Apr 02 00:34:57 1996 +0000
@@ -5558,7 +5558,11 @@
       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.  */
 	  XCloseIM (FRAME_XIM (f));
+#endif
 	}
 #endif
       XDestroyWindow (FRAME_X_DISPLAY (f), f->output_data.x->window_desc);