Set DISPLAY to :1 automatically

master
Drew DeVault 9 years ago
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…
Cancel
Save