diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-07-16 20:10:38 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-16 20:10:38 -0700 |
commit | 7f20ab644347b11fd8242beaf7a6fe42c910d014 (patch) | |
tree | 808d0e88c28561d5853be09f7c2ab7968ce70e3f /rootston/desktop.c | |
parent | 4984ea49eeaa292d66be9e535d93a4d8185f3e18 (diff) | |
parent | 9a6f77fc2ceb59f4b5bcd1e1f8c00aa974b5192b (diff) |
Merge pull request #960 from Ongy/tablet
tablet-unstable-v2 support
Diffstat (limited to 'rootston/desktop.c')
-rw-r--r-- | rootston/desktop.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rootston/desktop.c b/rootston/desktop.c index 563c5938..3f9faf24 100644 --- a/rootston/desktop.c +++ b/rootston/desktop.c @@ -22,6 +22,8 @@ #include <wlr/types/wlr_xdg_output.h> #include <wlr/types/wlr_xdg_shell_v6.h> #include <wlr/types/wlr_xdg_shell.h> +#include <wlr/types/wlr_xdg_output.h> +#include <wlr/types/wlr_tablet_v2.h> #include <wlr/util/log.h> #include "rootston/layers.h" #include "rootston/seat.h" @@ -801,6 +803,8 @@ struct roots_desktop *desktop_create(struct roots_server *server, &desktop->layer_shell_surface); desktop->layer_shell_surface.notify = handle_layer_shell_surface; + desktop->tablet_v2 = wlr_tablet_v2_create(server->wl_display); + #ifdef WLR_HAS_XWAYLAND const char *cursor_theme = NULL; const char *cursor_default = ROOTS_XCURSOR_DEFAULT; |