Mercurial > emacs
diff 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 |
line wrap: on
line diff
--- a/src/xterm.c Mon Mar 18 03:13:07 1996 +0000 +++ b/src/xterm.c Mon Mar 18 03:20:06 1996 +0000 @@ -5559,6 +5559,13 @@ { if (f->output_data.x->icon_desc != 0) XDestroyWindow (FRAME_X_DISPLAY (f), f->output_data.x->icon_desc); +#ifdef HAVE_X_I18N + if (FRAME_XIM (f)) + { + XDestroyIC (FRAME_XIC (f)); + XCloseIM (FRAME_XIM (f)); + } +#endif XDestroyWindow (FRAME_X_DISPLAY (f), f->output_data.x->window_desc); #ifdef USE_X_TOOLKIT XtDestroyWidget (f->output_data.x->widget);