From d2e9c6864005d716a2d66f5bff5b8bd87b180574 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 10 Dec 2015 08:18:48 -0500 Subject: Copy+paste swaybg code to swaylock for testing --- swaybg/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'swaybg') diff --git a/swaybg/main.c b/swaybg/main.c index 0bb83396..2ae06c6f 100644 --- a/swaybg/main.c +++ b/swaybg/main.c @@ -56,8 +56,8 @@ int main(int argc, const char **argv) { desktop_shell_set_background(registry->desktop_shell, output->output, window->surface); list_add(surfaces, window); - GError *err=NULL; - GdkPixbuf *pixbuf = gdk_pixbuf_new_from_file(argv[2],&err); + GError *err = NULL; + GdkPixbuf *pixbuf = gdk_pixbuf_new_from_file(argv[2], &err); if (!pixbuf) { sway_abort("Failed to load background image."); } -- cgit v1.2.3-54-g00ecf