Set DISPLAY to :1 automatically

This commit is contained in:
Drew DeVault 2015-08-09 13:54:52 -04:00
parent ea9659f39c
commit 4924628ac2

View file

@ -58,6 +58,7 @@ int main(int argc, char **argv) {
if (!wlc_init(&interface, argc, argv)) {
return 1;
}
setenv("DISPLAY", ":1", 1);
wlc_run();
return 0;
}