summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-12-10 08:18:48 -0500
committerDrew DeVault <sir@cmpwn.com>2015-12-10 08:18:48 -0500
commitd215cebec2b5d0c5318e060d9c5dbc8152f7cace (patch)
tree422228ee9db1c131c07afb732a7a3a3eb1c8151a
parentaf4e17d11da88637f484ff13faee3be87c97127d (diff)
downloadswaybg-d215cebec2b5d0c5318e060d9c5dbc8152f7cace.tar.gz
swaybg-d215cebec2b5d0c5318e060d9c5dbc8152f7cace.tar.bz2
Copy+paste swaybg code to swaylock for testing
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index 0bb8339..2ae06c6 100644
--- a/main.c
+++ b/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.");
}