From 18c2dce65ed0dacdb3920357be695c2b263ada54 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 19 Aug 2021 20:47:36 +0200 Subject: [PATCH] backend: unify startup messages --- backend/libinput/backend.c | 2 +- backend/wayland/backend.c | 2 +- backend/x11/backend.c | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/backend/libinput/backend.c b/backend/libinput/backend.c index c7bde4a9b..00145e419 100644 --- a/backend/libinput/backend.c +++ b/backend/libinput/backend.c @@ -84,7 +84,7 @@ static void log_libinput(struct libinput *libinput_context, static bool backend_start(struct wlr_backend *wlr_backend) { struct wlr_libinput_backend *backend = get_libinput_backend_from_backend(wlr_backend); - wlr_log(WLR_DEBUG, "Initializing libinput"); + wlr_log(WLR_DEBUG, "Starting libinput backend"); backend->libinput_context = libinput_udev_create_context(&libinput_impl, backend, backend->session->udev); diff --git a/backend/wayland/backend.c b/backend/wayland/backend.c index 079f64006..207c17d29 100644 --- a/backend/wayland/backend.c +++ b/backend/wayland/backend.c @@ -267,7 +267,7 @@ static const struct wl_registry_listener registry_listener = { */ static bool backend_start(struct wlr_backend *backend) { struct wlr_wl_backend *wl = get_wl_backend_from_backend(backend); - wlr_log(WLR_INFO, "Initializating wayland backend"); + wlr_log(WLR_INFO, "Starting Wayland backend"); wl->started = true; diff --git a/backend/x11/backend.c b/backend/x11/backend.c index 478583f0e..acdd3f39c 100644 --- a/backend/x11/backend.c +++ b/backend/x11/backend.c @@ -165,6 +165,8 @@ static bool backend_start(struct wlr_backend *backend) { struct wlr_x11_backend *x11 = get_x11_backend_from_backend(backend); x11->started = true; + wlr_log(WLR_INFO, "Starting X11 backend"); + wlr_signal_emit_safe(&x11->backend.events.new_input, &x11->keyboard_dev); for (size_t i = 0; i < x11->requested_outputs; ++i) {