Mercurial > emacs
comparison src/xterm.c @ 14830:34db919835d3
(x_destroy_window) [HAVE_X_I18N]: Free xic and xim of frame.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 18 Mar 1996 03:20:06 +0000 |
parents | eec0abb31126 |
children | 634fc7befbdf |
comparison
equal
deleted
inserted
replaced
14829:13f71787615d | 14830:34db919835d3 |
---|---|
5557 commands to the X server. */ | 5557 commands to the X server. */ |
5558 if (dpyinfo->display != 0) | 5558 if (dpyinfo->display != 0) |
5559 { | 5559 { |
5560 if (f->output_data.x->icon_desc != 0) | 5560 if (f->output_data.x->icon_desc != 0) |
5561 XDestroyWindow (FRAME_X_DISPLAY (f), f->output_data.x->icon_desc); | 5561 XDestroyWindow (FRAME_X_DISPLAY (f), f->output_data.x->icon_desc); |
5562 #ifdef HAVE_X_I18N | |
5563 if (FRAME_XIM (f)) | |
5564 { | |
5565 XDestroyIC (FRAME_XIC (f)); | |
5566 XCloseIM (FRAME_XIM (f)); | |
5567 } | |
5568 #endif | |
5562 XDestroyWindow (FRAME_X_DISPLAY (f), f->output_data.x->window_desc); | 5569 XDestroyWindow (FRAME_X_DISPLAY (f), f->output_data.x->window_desc); |
5563 #ifdef USE_X_TOOLKIT | 5570 #ifdef USE_X_TOOLKIT |
5564 XtDestroyWidget (f->output_data.x->widget); | 5571 XtDestroyWidget (f->output_data.x->widget); |
5565 free_frame_menubar (f); | 5572 free_frame_menubar (f); |
5566 #endif /* USE_X_TOOLKIT */ | 5573 #endif /* USE_X_TOOLKIT */ |