aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-06-25 10:54:10 +0200
committerSimon Ser <contact@emersion.fr>2021-06-25 10:54:10 +0200
commitd2b6b570ea69d4eaeff0cdb1615de086c377689f (patch)
treebdcd0993baba9cbfa465ffb9c6b1771d54c35fec
parenta2419eb4ea06d92eef8b6196e27a7de1b57e51e6 (diff)
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.
-rw-r--r--xwayland/server.c4
1 files changed, 1 insertions, 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();