# HG changeset patch # User Richard M. Stallman # Date 828405297 0 # Node ID 5a1524631bcab75f4a340daa08da9610843af4da # Parent b909bb3e64c90360047d5ed687651b5b16a90ae0 (x_destroy_window) [SOLARIS2]: Don't free the IC or IM. diff -r b909bb3e64c9 -r 5a1524631bca src/xterm.c --- a/src/xterm.c Mon Apr 01 20:38:35 1996 +0000 +++ b/src/xterm.c Tue Apr 02 00:34:57 1996 +0000 @@ -5558,7 +5558,11 @@ 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)); +#endif } #endif XDestroyWindow (FRAME_X_DISPLAY (f), f->output_data.x->window_desc);