|
|
@ -143,7 +143,6 @@ void server_fini(struct sway_server *server) {
|
|
|
|
void server_run(struct sway_server *server) {
|
|
|
|
void server_run(struct sway_server *server) {
|
|
|
|
wlr_log(L_INFO, "Running compositor on wayland display '%s'",
|
|
|
|
wlr_log(L_INFO, "Running compositor on wayland display '%s'",
|
|
|
|
server->socket);
|
|
|
|
server->socket);
|
|
|
|
setenv("WAYLAND_DISPLAY", server->socket, true);
|
|
|
|
|
|
|
|
if (!wlr_backend_start(server->backend)) {
|
|
|
|
if (!wlr_backend_start(server->backend)) {
|
|
|
|
wlr_log(L_ERROR, "Failed to start backend");
|
|
|
|
wlr_log(L_ERROR, "Failed to start backend");
|
|
|
|
wlr_backend_destroy(server->backend);
|
|
|
|
wlr_backend_destroy(server->backend);
|
|
|
|