From: Richard M. Stallman Date: Tue, 2 Apr 1996 00:34:57 +0000 (+0000) Subject: (x_destroy_window) [SOLARIS2]: Don't free the IC or IM. X-Git-Tag: emacs-19.34~939 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a9978dd86687fe926b7d544a7e6d54e86866d3d3;p=emacs.git (x_destroy_window) [SOLARIS2]: Don't free the IC or IM. --- diff --git a/src/xterm.c b/src/xterm.c index 795a2e1c38d..c6aede5150f 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -5558,7 +5558,11 @@ x_destroy_window (f) 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);