aboutsummaryrefslogtreecommitdiff
path: root/swaybg
diff options
context:
space:
mode:
authorDavid Eklov <david.eklov@gmail.com>2016-07-04 17:04:16 -0500
committerDavid Eklov <david.eklov@gmail.com>2016-07-04 21:59:47 -0500
commit99bda4afe27d9e5723ab6b0ebe5eabb0caaa8eeb (patch)
tree67ba43783d4b61d81d7c5119bf4afc1587ffbd07 /swaybg
parentd3752b41405b5572d0ba488aaf969f308e06968a (diff)
downloadsway-99bda4afe27d9e5723ab6b0ebe5eabb0caaa8eeb.tar.xz
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) {
sway_abort("Failed to create surfaces.");
}
desktop_shell_set_background(registry->desktop_shell, output->output, window->surface);
+ window_make_shell(window);
list_add(surfaces, window);
#ifdef WITH_GDK_PIXBUF