aboutsummaryrefslogtreecommitdiff
path: root/common/background-image.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/background-image.c')
-rw-r--r--common/background-image.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/background-image.c b/common/background-image.c
index 1a6c0df0..e5fb4433 100644
--- a/common/background-image.c
+++ b/common/background-image.c
@@ -28,7 +28,8 @@ cairo_surface_t *load_background_image(const char *path) {
GError *err = NULL;
GdkPixbuf *pixbuf = gdk_pixbuf_new_from_file(path, &err);
if (!pixbuf) {
- wlr_log(L_ERROR, "Failed to load background image.");
+ wlr_log(L_ERROR, "Failed to load background image (%s).",
+ err->message);
return false;
}
image = gdk_cairo_image_surface_create_from_pixbuf(pixbuf);