WAYLAND_DISPLAY is not meant to be used to create wayland socket.
Change-Id: I3eb9b9aab1cf4cd1daf0f188c36447547af405d3
main(int argc, char *argv[])
{
headless_server_t server = { 0, };
- const char *socket_name = NULL;
bool ret;
tbm_bufmgr bufmgr = NULL;
ds_log_init(DS_INF, handle_ds_log);
}
- socket_name = getenv("WAYLAND_DISPLAY");
-
- if (!socket_name)
- socket_name = "wayland-0";
-
if (!getenv("XDG_RUNTIME_DIR"))
setenv("XDG_RUNTIME_DIR", "/run", 1);