backend: unify startup messages

This commit is contained in:
Simon Ser 2021-08-19 20:47:36 +02:00
parent 46c42e55c6
commit 18c2dce65e
3 changed files with 4 additions and 2 deletions

View File

@ -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);

View File

@ -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;

View File

@ -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) {