]> Dogcows Code - chaz/openbox/blobdiff - otk/display.cc
ustring seems to be working! yay!
[chaz/openbox] / otk / display.cc
index 97e77de1830c92f9370d03eb7b709d253d1b485a..36c7f52f86e9e479a28d032c54ddba3d7d5c9623 100644 (file)
@@ -100,13 +100,16 @@ 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(""))
+    printf(_("Cannot set locale modifiers for the X server.\n"));
+  
   // set our error handler for X errors
   XSetErrorHandler(xerrorHandler);
 
   // set the DISPLAY environment variable for any lauched children, to the
   // display we're using, so they open in the right place.
-  // XXX rm -> std::string dtmp = "DISPLAY=" + DisplayString(display);
   putenv(std::string("DISPLAY=") + DisplayString(display));
   
   // find the availability of X extensions we like to use
This page took 0.022603 seconds and 4 git commands to generate.