summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_x.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx
index 46ef72aa4..ab3dce8a9 100644
--- a/src/Fl_x.cxx
+++ b/src/Fl_x.cxx
@@ -813,11 +813,7 @@ int fl_handle(const XEvent& thisevent)
fl_xim_im = NULL;
fl_init_xim();
} else {
- // XCloseIM(xim_im); FIXME
- /* XFree86 has a bug when closing IM it crashes in
- * _XlcCreateDefaultCharSet() ! So don't close it.
- * This will cause a memory leak :-(
- */
+ XCloseIM(xim_im); // see STR 2185 for comment
}
return 0;
}