diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2015-12-10 08:18:48 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2015-12-10 08:18:48 -0500 |
| commit | cb951cf96872e2bdca113310d5eb5bcbf41e262c (patch) | |
| tree | e1d9f82364e65ac2206a5afed4294491daf7a071 /swaybg/main.c | |
| parent | f6e9892e01999e838524bccf39c6225ee49e992e (diff) | |
Copy+paste swaybg code to swaylock for testing
Diffstat (limited to 'swaybg/main.c')
| -rw-r--r-- | swaybg/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
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."); } |
