From 1c1ef69326caefcebe1dbbdf0abee78ff97f0386 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 28 Apr 2021 21:06:41 +0200 Subject: Log when WLR_BACKENDS/WLR_RENDERER is set Makes it easier to figure out why a backend/renderer is picked. --- backend/backend.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'backend') diff --git a/backend/backend.c b/backend/backend.c index c7fa043d..11845437 100644 --- a/backend/backend.c +++ b/backend/backend.c @@ -237,6 +237,9 @@ struct wlr_backend *wlr_backend_autocreate(struct wl_display *display) { char *names = getenv("WLR_BACKENDS"); if (names) { + wlr_log(WLR_INFO, "Loading user-specified backends due to WLR_BACKENDS: %s", + names); + names = strdup(names); if (names == NULL) { wlr_log(WLR_ERROR, "allocation failed"); -- cgit v1.2.3