diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-13 01:41:06 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-13 01:41:06 +0000 |
| commit | 120ed7a650c31fc7aa6443f0bd408f041e2d8a86 (patch) | |
| tree | 7cc43c5b406f57dfcdcc7822b1611b6cfd9255e8 /otk | |
| parent | 8b73f6f02517e717842d122d82e1eb08cda95e19 (diff) | |
setup the locale on the X server on start
Diffstat (limited to 'otk')
| -rw-r--r-- | otk/display.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/otk/display.cc b/otk/display.cc index 97e77de1..59a48aee 100644 --- a/otk/display.cc +++ b/otk/display.cc @@ -100,7 +100,11 @@ line argument.\n\n")); printf(_("Couldn't mark display connection as close-on-exec.\n\n")); ::exit(1); } - + if (! XSupportsLocale()) + printf(_("X server does not support locale.\n")); + if (XSetLocaleModifiers("") == NULL) + printf(_("Cannot set locale modifiers for the X server.\n")); + // set our error handler for X errors XSetErrorHandler(xerrorHandler); |
