server: create tablet-v2-manager

This commit is contained in:
Jens Peters 2024-04-11 23:48:00 +02:00 committed by Consolatis
parent f0a12bb15d
commit 9c219564be
2 changed files with 6 additions and 0 deletions

View file

@ -16,6 +16,7 @@
#include <wlr/types/wlr_screencopy_v1.h>
#include <wlr/types/wlr_single_pixel_buffer_v1.h>
#include <wlr/types/wlr_viewporter.h>
#include <wlr/types/wlr_tablet_v2.h>
#if HAVE_XWAYLAND
#include <wlr/xwayland.h>
#include "xwayland-shell-v1-protocol.h"
@ -550,6 +551,8 @@ server_init(struct server *server)
server->tearing_new_object.notify = new_tearing_hint;
wl_signal_add(&server->tearing_control->events.new_object, &server->tearing_new_object);
server->tablet_manager = wlr_tablet_v2_create(server->wl_display);
layers_init(server);
#if HAVE_XWAYLAND