diff options
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) | |||
| 5558 | if (FRAME_XIM (f)) | 5558 | if (FRAME_XIM (f)) |
| 5559 | { | 5559 | { |
| 5560 | XDestroyIC (FRAME_XIC (f)); | 5560 | XDestroyIC (FRAME_XIC (f)); |
| 5561 | #ifndef SOLARIS2 /* This code causes crashes on Solaris 2.3 and 2.5, | ||
| 5562 | due to an apparent bug in XCloseIM. | ||
| 5563 | The bug may be only in Openwin and not in X11R6. */ | ||
| 5561 | XCloseIM (FRAME_XIM (f)); | 5564 | XCloseIM (FRAME_XIM (f)); |
| 5565 | #endif | ||
| 5562 | } | 5566 | } |
| 5563 | #endif | 5567 | #endif |
| 5564 | XDestroyWindow (FRAME_X_DISPLAY (f), f->output_data.x->window_desc); | 5568 | XDestroyWindow (FRAME_X_DISPLAY (f), f->output_data.x->window_desc); |