Mercurial > emacs
changeset 51825:7003a80a49ec
(x_term_init) [!USE_XIM]: Use `useXIM' resource to turn on XIM.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Tue, 08 Jul 2003 22:00:53 +0000 |
parents | 9f5665eb77bd |
children | 19ef2c37b89f |
files | src/xterm.c |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xterm.c Tue Jul 08 21:47:55 2003 +0000 +++ b/src/xterm.c Tue Jul 08 22:00:53 2003 +0000 @@ -10530,10 +10530,17 @@ build_string ("useXIM"), build_string ("UseXIM"), Qnil, Qnil); +#ifdef USE_XIM if (STRINGP (value) && (!strcmp (XSTRING (value)->data, "false") || !strcmp (XSTRING (value)->data, "off"))) use_xim = 0; +#else + if (STRINGP (value) + && (!strcmp (XSTRING (value)->data, "true") + || !strcmp (XSTRING (value)->data, "on"))) + use_xim = 1; +#endif } UNBLOCK_INPUT;