aboutsummaryrefslogtreecommitdiff
path: root/swaybg
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2016-07-17 11:55:05 -0400
committerDrew DeVault <sir@cmpwn.com>2016-07-17 11:55:05 -0400
commit6d971af5c3ceae870c424325ca06fc635703bb29 (patch)
tree886e321930a4ee95f5cb7f0136138712f5ee1c57 /swaybg
parentc8917395c0cc5ff9fbec3a504c1855d9012d17ed (diff)
downloadsway-6d971af5c3ceae870c424325ca06fc635703bb29.tar.xz
Turn swaybg into 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