]> git.eshelyaron.com Git - emacs.git/commit
Backport from trunk.
authorJan Djärv <jan.h.d@swipnet.se>
Fri, 4 Jul 2014 15:15:02 +0000 (17:15 +0200)
committerJan Djärv <jan.h.d@swipnet.se>
Fri, 4 Jul 2014 15:15:02 +0000 (17:15 +0200)
commit8069993ef72ba8578a84091dae1994f4d19140be
treeea40b30acb28938634b91d5774e3ca7f1ecd5dbd
parent5b5953c070455773f3bdfb9ebcc7ecc15dde0611
Backport from trunk.
* xfns.c (create_frame_xic): Pass XNStatusAttributes to XCreateIC
only if xic_style calls for it.  This change allows Emacs to work
with ibus.  Also, don't leak resources if create_frame_xic fails,
and stop caching xic_style across different displays.
(supported_xim_styles): Make const.
(best_xim_style): Remove first parameter: it's always just
supported_xim_styles.  Change to look at supported_xim_styles
directly.

Fixes: debbugs:17928
src/ChangeLog
src/xfns.c