aboutsummaryrefslogtreecommitdiffstats
path: root/swaybg
diff options
context:
space:
mode:
authorLibravatar David Eklov <david.eklov@gmail.com>2016-07-04 17:04:16 -0500
committerLibravatar David Eklov <david.eklov@gmail.com>2016-07-04 21:59:47 -0500
commit99bda4afe27d9e5723ab6b0ebe5eabb0caaa8eeb (patch)
tree67ba43783d4b61d81d7c5119bf4afc1587ffbd07 /swaybg
parentswaybar: Make swaybar a shell surface (diff)
downloadsway-99bda4afe27d9e5723ab6b0ebe5eabb0caaa8eeb.tar.gz
sway-99bda4afe27d9e5723ab6b0ebe5eabb0caaa8eeb.tar.zst
sway-99bda4afe27d9e5723ab6b0ebe5eabb0caaa8eeb.zip
swaybg: Make swaybg a shell surface
Diffstat (limited to 'swaybg')
-rw-r--r--swaybg/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/swaybg/main.c b/swaybg/main.c
index fbd0d16b..4e0cc4b3 100644
--- a/swaybg/main.c
+++ b/swaybg/main.c
@@ -54,6 +54,7 @@ int main(int argc, const char **argv) {
54 sway_abort("Failed to create surfaces."); 54 sway_abort("Failed to create surfaces.");
55 } 55 }
56 desktop_shell_set_background(registry->desktop_shell, output->output, window->surface); 56 desktop_shell_set_background(registry->desktop_shell, output->output, window->surface);
57 window_make_shell(window);
57 list_add(surfaces, window); 58 list_add(surfaces, window);
58 59
59#ifdef WITH_GDK_PIXBUF 60#ifdef WITH_GDK_PIXBUF