mirror of
https://github.com/swaywm/sway.git
synced 2024-11-22 07:51:28 +00:00
Set DISPLAY to :1 automatically
This commit is contained in:
parent
ea9659f39c
commit
4924628ac2
|
@ -58,6 +58,7 @@ int main(int argc, char **argv) {
|
||||||
if (!wlc_init(&interface, argc, argv)) {
|
if (!wlc_init(&interface, argc, argv)) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
setenv("DISPLAY", ":1", 1);
|
||||||
wlc_run();
|
wlc_run();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue