diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-12-10 08:18:48 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-12-10 08:18:48 -0500 |
commit | d215cebec2b5d0c5318e060d9c5dbc8152f7cace (patch) | |
tree | 422228ee9db1c131c07afb732a7a3a3eb1c8151a /main.c | |
parent | af4e17d11da88637f484ff13faee3be87c97127d (diff) | |
download | swaybg-d215cebec2b5d0c5318e060d9c5dbc8152f7cace.tar.gz swaybg-d215cebec2b5d0c5318e060d9c5dbc8152f7cace.tar.bz2 |
Copy+paste swaybg code to swaylock for testing
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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."); } |