diff options
Diffstat (limited to 'src')
| -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 28931a370fa..352fa426ead 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -5559,6 +5559,13 @@ x_destroy_window (f) | |||
| 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); |