mirror of
https://github.com/swaywm/sway.git
synced 2024-11-10 20:44:01 +01:00
swaybg: Make swaybg a shell surface
This commit is contained in:
parent
d3752b4140
commit
99bda4afe2
@ -54,6 +54,7 @@ int main(int argc, const char **argv) {
|
|||||||
sway_abort("Failed to create surfaces.");
|
sway_abort("Failed to create surfaces.");
|
||||||
}
|
}
|
||||||
desktop_shell_set_background(registry->desktop_shell, output->output, window->surface);
|
desktop_shell_set_background(registry->desktop_shell, output->output, window->surface);
|
||||||
|
window_make_shell(window);
|
||||||
list_add(surfaces, window);
|
list_add(surfaces, window);
|
||||||
|
|
||||||
#ifdef WITH_GDK_PIXBUF
|
#ifdef WITH_GDK_PIXBUF
|
||||||
|
Loading…
Reference in New Issue
Block a user