Mercurial > emacs
comparison src/xterm.c @ 14921:5a1524631bca
(x_destroy_window) [SOLARIS2]: Don't free the IC or IM.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 02 Apr 1996 00:34:57 +0000 |
parents | 3d81a1c0beaa |
children | 3432e5570488 |
comparison
equal
deleted
inserted
replaced
14920:b909bb3e64c9 | 14921:5a1524631bca |
---|---|
5556 XDestroyWindow (FRAME_X_DISPLAY (f), f->output_data.x->icon_desc); | 5556 XDestroyWindow (FRAME_X_DISPLAY (f), f->output_data.x->icon_desc); |
5557 #ifdef HAVE_X_I18N | 5557 #ifdef HAVE_X_I18N |
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); |
5565 #ifdef USE_X_TOOLKIT | 5569 #ifdef USE_X_TOOLKIT |
5566 XtDestroyWidget (f->output_data.x->widget); | 5570 XtDestroyWidget (f->output_data.x->widget); |