HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f867d8d
)
(x_destroy_window): Do call XCloseIM if X11R6.
author
Richard M. Stallman
<rms@gnu.org>
Fri, 5 Apr 1996 16:03:20 +0000
(16:03 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 5 Apr 1996 16:03:20 +0000
(16:03 +0000)
src/xterm.c
patch
|
blob
|
blame
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index
c6aede5
..
99249f7
100644
(file)
--- 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
}