diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-04-02 00:34:57 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-04-02 00:34:57 +0000 |
commit | 1c757ca68736c3042ea1687c0df1ab3644f5701d (patch) | |
tree | 7880dbbe332d14a1b58bcbb43118b384e7f14156 /src | |
parent | 4c71158fcef488fc563af835de01e25474b5804c (diff) | |
download | emacs-1c757ca68736c3042ea1687c0df1ab3644f5701d.tar.gz |
(x_destroy_window) [SOLARIS2]: Don't free the IC or IM.
Diffstat (limited to 'src')
-rw-r--r-- | src/xterm.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); |