1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#ifndef _SWAY_EXTENSIONS_H #define _SWAY_EXTENSIONS_H #include "list.h" #include "wlc/wlc-wayland.h" struct background_config { wlc_handle output; wlc_resource surface; }; struct desktop_shell_state { list_t *backgrounds; }; extern struct desktop_shell_state desktop_shell; void register_extensions(void); #endif