Commit a9978dd8 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(x_destroy_window) [SOLARIS2]: Don't free the IC or IM.

parent ce7f6d62
......@@ -5558,7 +5558,11 @@ x_destroy_window (f)
if (FRAME_XIM (f))
XDestroyIC (FRAME_XIC (f));
#ifndef SOLARIS2 /* This code causes crashes on Solaris 2.3 and 2.5,
due to an apparent bug in XCloseIM.
The bug may be only in Openwin and not in X11R6. */
XCloseIM (FRAME_XIM (f));
XDestroyWindow (FRAME_X_DISPLAY (f), f->output_data.x->window_desc);
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