mirror of
https://github.com/labwc/labwc.git
synced 2025-11-30 06:59:52 -05:00
server: create tablet-v2-manager
This commit is contained in:
parent
f0a12bb15d
commit
9c219564be
2 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue