diff options
| author | Richard M. Stallman | 1996-04-02 00:34:57 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-04-02 00:34:57 +0000 |
| commit | a9978dd86687fe926b7d544a7e6d54e86866d3d3 (patch) | |
| tree | e2f94a94bbff3905fac5bb59374e59e49a930340 /src | |
| parent | ce7f6d62bc26f6149e34cb6053cda9de9b1b3727 (diff) | |
| download | emacs-a9978dd86687fe926b7d544a7e6d54e86866d3d3.tar.gz emacs-a9978dd86687fe926b7d544a7e6d54e86866d3d3.zip | |
(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) | |||
| 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); |