mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-06 19:34:26 +00:00
Set XERRORDB environment variable to relocate the XErrorDB file
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2004-12-01 Alexander Gottwald <ago at freedesktop dot org>
|
||||
|
||||
* InitOutput.c:
|
||||
Set XERRORDB environment variable to relocate the XErrorDB file
|
||||
|
||||
2004-11-29 Kensuke Matsuzaki <zakki@peppermint.jp>
|
||||
|
||||
* winmultiwindowwm.c:
|
||||
|
||||
@@ -606,6 +606,14 @@ winFixupPaths (void)
|
||||
buffer[sizeof(buffer)-1] = 0;
|
||||
putenv(buffer);
|
||||
}
|
||||
if (getenv("XERRORDB") == NULL)
|
||||
{
|
||||
char buffer[MAX_PATH];
|
||||
snprintf(buffer, sizeof(buffer), "XERRORDB=%s\\XErrorDB",
|
||||
basedir);
|
||||
buffer[sizeof(buffer)-1] = 0;
|
||||
putenv(buffer);
|
||||
}
|
||||
if (getenv("XLOCALEDIR") == NULL)
|
||||
{
|
||||
char buffer[MAX_PATH];
|
||||
|
||||
Reference in New Issue
Block a user