diff --git a/kiwmi/desktop/desktop.c b/kiwmi/desktop/desktop.c index da2341e..b7b2254 100644 --- a/kiwmi/desktop/desktop.c +++ b/kiwmi/desktop/desktop.c @@ -14,6 +14,7 @@ #include #include #include +#include #include "desktop/output.h" #include "server.h" @@ -27,6 +28,8 @@ desktop_init(struct kiwmi_desktop *desktop, struct wlr_renderer *renderer) wlr_data_device_manager_create(server->wl_display); desktop->output_layout = wlr_output_layout_create(); + wlr_xdg_output_manager_v1_create(server->wl_display, desktop->output_layout); + wl_list_init(&desktop->outputs); desktop->new_output.notify = new_output_notify; diff --git a/kiwmi/server.c b/kiwmi/server.c index c4e427b..de15022 100644 --- a/kiwmi/server.c +++ b/kiwmi/server.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include "luak.h" @@ -74,6 +75,8 @@ server_init(struct kiwmi_server *server, char *config_path) } } + wlr_screencopy_manager_v1_create(server->wl_display); + server->config_path = config_path; if (!luaK_init(server)) {