# HG changeset patch # User Richard M. Stallman # Date 828720200 0 # Node ID 3432e55704889acbe1341b5f6a4b76caa44e45c8 # Parent 7e8ee35d0fb952a7533eef9381aa58e4856bde15 (x_destroy_window): Do call XCloseIM if X11R6. diff -r 7e8ee35d0fb9 -r 3432e5570488 src/xterm.c --- a/src/xterm.c Thu Apr 04 22:06:47 1996 +0000 +++ b/src/xterm.c Fri Apr 05 16:03:20 1996 +0000 @@ -5558,9 +5558,10 @@ 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. */ +#if ! defined (SOLARIS2) || defined (HAVE_X11R6) + /* This line causes crashes on Solaris with Openwin, + due to an apparent bug in XCloseIM. + X11R6 seems not to have the bug. */ XCloseIM (FRAME_XIM (f)); #endif }