diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-04-05 16:03:20 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-04-05 16:03:20 +0000 |
commit | 2ae54507998bd3f0a95a53fb4ed64f1aea06065b (patch) | |
tree | 58126b482a8d6a6f0897a455f839ac0f24761b53 /src | |
parent | ef2df8a6ac42d2c1d11492f9f6fe60e63a3d2599 (diff) | |
download | emacs-2ae54507998bd3f0a95a53fb4ed64f1aea06065b.tar.gz |
(x_destroy_window): Do call XCloseIM if X11R6.
Diffstat (limited to 'src')
-rw-r--r-- | src/xterm.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/xterm.c b/src/xterm.c index c6aede5150f..99249f7ca4b 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -5558,9 +5558,10 @@ 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. */ +#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 } |