diff --git a/kiwmi/desktop/desktop.c b/kiwmi/desktop/desktop.c index 5fd4ba7..7d1c1b8 100644 --- a/kiwmi/desktop/desktop.c +++ b/kiwmi/desktop/desktop.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include @@ -67,6 +68,10 @@ desktop_init(struct kiwmi_desktop *desktop) wlr_scene_attach_output_layout(desktop->scene, desktop->output_layout); + struct wlr_presentation *presentation = + wlr_presentation_create(server->wl_display, server->backend); + wlr_scene_set_presentation(desktop->scene, presentation); + desktop->xdg_shell = wlr_xdg_shell_create(server->wl_display); desktop->xdg_shell_new_surface.notify = xdg_shell_new_surface_notify; wl_signal_add( diff --git a/kiwmi/server.c b/kiwmi/server.c index ba0e74c..2b55371 100644 --- a/kiwmi/server.c +++ b/kiwmi/server.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include "luak/luak.h" @@ -67,6 +68,7 @@ server_init(struct kiwmi_server *server, char *config_path) wlr_data_control_manager_v1_create(server->wl_display); wlr_gamma_control_manager_v1_create(server->wl_display); wlr_primary_selection_v1_device_manager_create(server->wl_display); + wlr_viewporter_create(server->wl_display); server->socket = wl_display_add_socket_auto(server->wl_display); if (!server->socket) {