From d2b6b570ea69d4eaeff0cdb1615de086c377689f Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 25 Jun 2021 10:54:10 +0200 Subject: [PATCH] xwayland: improve startup log message Logging the raw Xwayland command-line was incomplete, uninformative and confusing for end-users. Instead, print a proper message in English. --- xwayland/server.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/xwayland/server.c b/xwayland/server.c index a9993a07..ed73027f 100644 --- a/xwayland/server.c +++ b/xwayland/server.c @@ -96,9 +96,7 @@ noreturn static void exec_xwayland(struct wlr_xwayland_server *server) { snprintf(wayland_socket_str, sizeof(wayland_socket_str), "%d", server->wl_fd[1]); setenv("WAYLAND_SOCKET", wayland_socket_str, true); - wlr_log(WLR_INFO, "WAYLAND_SOCKET=%d Xwayland :%d -rootless -terminate -core -listenfd %d -listenfd %d -wm %d", - server->wl_fd[1], server->display, server->x_fd[0], - server->x_fd[1], server->wm_fd[1]); + wlr_log(WLR_INFO, "Starting Xwayland on :%d", server->display); // Closes stdout/stderr depending on log verbosity enum wlr_log_importance verbosity = wlr_log_get_verbosity();