diff --git a/kiwmi/desktop/desktop.c b/kiwmi/desktop/desktop.c index 10c203a..f89f37d 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 d8e58a8..1c89790 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)) {