diff options
author | Richard M. Stallman <[email protected]> | 1996-03-18 03:20:06 +0000 |
---|---|---|
committer | Richard M. Stallman <[email protected]> | 1996-03-18 03:20:06 +0000 |
commit | 31f41dafa6f61cf631158af13945f779d7e1aa65 (patch) | |
tree | 9b17928cbb225ef31f05ff9ba3f04de41d887ade | |
parent | f08fe433e70332c2eba48e7e8043379a0792fef1 (diff) |
(x_destroy_window) [HAVE_X_I18N]: Free xic and xim of frame.
-rw-r--r-- | src/xterm.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c index 28931a370f..352fa426ea 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -5559,6 +5559,13 @@ x_destroy_window (f) { 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); |