(x_term_init) [!USE_XIM]: Use `useXIM' resource to turn on XIM.
This commit is contained in:
parent
c2d5b10fc3
commit
539465b3c9
1 changed files with 7 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue