aboutsummaryrefslogtreecommitdiffstats
path: root/common/background-image.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-04-03 15:04:31 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2018-04-04 18:47:48 -0400
commitd053acbed6fea0f73eb79ac800c1342f8afadeb8 (patch)
tree76a170cc89fdf111dfef0de45b1fe7ce06bf62e9 /common/background-image.c
parentVerify passwords (diff)
downloadsway-d053acbed6fea0f73eb79ac800c1342f8afadeb8.tar.gz
sway-d053acbed6fea0f73eb79ac800c1342f8afadeb8.tar.zst
sway-d053acbed6fea0f73eb79ac800c1342f8afadeb8.zip
R E N D E R I N G
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) {
28 GError *err = NULL; 28 GError *err = NULL;
29 GdkPixbuf *pixbuf = gdk_pixbuf_new_from_file(path, &err); 29 GdkPixbuf *pixbuf = gdk_pixbuf_new_from_file(path, &err);
30 if (!pixbuf) { 30 if (!pixbuf) {
31 wlr_log(L_ERROR, "Failed to load background image."); 31 wlr_log(L_ERROR, "Failed to load background image (%s).",
32 err->message);
32 return false; 33 return false;
33 } 34 }
34 image = gdk_cairo_image_surface_create_from_pixbuf(pixbuf); 35 image = gdk_cairo_image_surface_create_from_pixbuf(pixbuf);