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

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;
} }