Commit 539465b3 authored by Kim F. Storm's avatar Kim F. Storm
Browse files

(x_term_init) [!USE_XIM]: Use `useXIM' resource to turn on XIM.

parent c2d5b10f
......@@ -10530,10 +10530,17 @@ x_term_init (display_name, xrm_option, resource_name)
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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment