aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-04-03 15:04:31 -0400
committerDrew DeVault <sir@cmpwn.com>2018-04-04 18:47:48 -0400
commitd053acbed6fea0f73eb79ac800c1342f8afadeb8 (patch)
tree76a170cc89fdf111dfef0de45b1fe7ce06bf62e9 /common
parente902de34db2354335c1cbd6baf2fcf7e82509b63 (diff)
R E N D E R I N G
Diffstat (limited to 'common')
-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);