Set WAYLAND_DISPLAY in rootston environment

Duh
This commit is contained in:
Drew DeVault 2017-10-03 10:35:54 -04:00
parent 521e893528
commit eadda29e84
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ int main(int argc, char **argv) {
return 1; return 1;
} }
setenv("WAYLAND_DISPLAY", socket, true);
wl_display_run(server.wl_display); wl_display_run(server.wl_display);
return 0; return 0;
} }