]> Dogcows Code - chaz/openbox/commitdiff
setup the locale on the X server on start
authorDana Jansens <danakj@orodu.net>
Mon, 13 Jan 2003 01:41:06 +0000 (01:41 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 13 Jan 2003 01:41:06 +0000 (01:41 +0000)
otk/display.cc

index 97e77de1830c92f9370d03eb7b709d253d1b485a..59a48aeee47116cde11ea0fa1f8b18b344a4a8e1 100644 (file)
@@ -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);
 
This page took 0.024207 seconds and 4 git commands to generate.