diff options
author | Drew DeVault <sir@cmpwn.com> | 2016-07-17 11:55:05 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2016-07-17 11:55:05 -0400 |
commit | 6d971af5c3ceae870c424325ca06fc635703bb29 (patch) | |
tree | 886e321930a4ee95f5cb7f0136138712f5ee1c57 /swaybg | |
parent | Remove SIGSERV and SIGABORT handler (diff) | |
download | sway-6d971af5c3ceae870c424325ca06fc635703bb29.tar.gz sway-6d971af5c3ceae870c424325ca06fc635703bb29.tar.zst sway-6d971af5c3ceae870c424325ca06fc635703bb29.zip |
Turn swaybg into a shell surface
Diffstat (limited to 'swaybg')
-rw-r--r-- | swaybg/main.c | 1 |
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 |