Commit 31f41daf authored by Richard M. Stallman's avatar Richard M. Stallman

(x_destroy_window) [HAVE_X_I18N]: Free xic and xim of frame.

parent f08fe433
......@@ -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));
XDestroyWindow (FRAME_X_DISPLAY (f), f->output_data.x->window_desc);
XtDestroyWidget (f->output_data.x->widget);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment