printf(_("Couldn't mark display connection as close-on-exec.\n\n"));
::exit(1);
}
- if (! XSupportsLocale())
+ if (!XSupportsLocale())
printf(_("X server does not support locale.\n"));
- if (XSetLocaleModifiers("") == NULL)
+ if (!XSetLocaleModifiers(""))
printf(_("Cannot set locale modifiers for the X server.\n"));
// set our error handler for X errors
// 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