XtSetLanguageProc-8 failed when XMODIFIERS is set, which is because XsetLocaleModifiers in X11/lcWrap.c will get the XMODIFIERS setting by getenv. So we had better to clear XMODIFIERS' setting before running XtSetLanguageProc-8.
Created attachment 3346 [details] [review] proposed patch of Xt4/tstlnggprc.m
Rui Feng, Do you still experience this issue with newer drivers ? Please check the status of your issue.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/test/xts/issues/2.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.