mirror of
https://github.com/openbsd/xenocara.git
synced 2025-12-12 04:09:15 +00:00
Fix the WINDOWPATH environment variable setting.
Setting it to a device name was a mistake as this is not the semantic expected by the applications that use it (screen readers).
This commit is contained in:
@@ -549,7 +549,7 @@ SetWindowPath(struct display *d)
|
||||
XFree(buf);
|
||||
windowpath = getenv("WINDOWPATH");
|
||||
if (!windowpath) {
|
||||
if (asprintf(&newwindowpath, "ttyC%lu", num - 1) == -1)
|
||||
if (asprintf(&newwindowpath, "%lu", num) == -1)
|
||||
return;
|
||||
} else {
|
||||
if (asprintf(&newwindowpath, "%s:%lu", windowpath, num) == -1)
|
||||
|
||||
Reference in New Issue
Block a user