Turn swaybg into a shell surface

This commit is contained in:
Drew DeVault 2016-07-17 11:55:05 -04:00
parent c8917395c0
commit 6d971af5c3
5 changed files with 43 additions and 15 deletions

View file

@ -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