diff options
Diffstat (limited to 'sway/server.c')
-rw-r--r-- | sway/server.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/server.c b/sway/server.c index aee2cc87..e2d54947 100644 --- a/sway/server.c +++ b/sway/server.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <wlr/types/wlr_relative_pointer_v1.h> | 19 | #include <wlr/types/wlr_relative_pointer_v1.h> |
20 | #include <wlr/types/wlr_screencopy_v1.h> | 20 | #include <wlr/types/wlr_screencopy_v1.h> |
21 | #include <wlr/types/wlr_server_decoration.h> | 21 | #include <wlr/types/wlr_server_decoration.h> |
22 | #include <wlr/types/wlr_tablet_v2.h> | ||
22 | #include <wlr/types/wlr_xcursor_manager.h> | 23 | #include <wlr/types/wlr_xcursor_manager.h> |
23 | #include <wlr/types/wlr_xdg_decoration_v1.h> | 24 | #include <wlr/types/wlr_xdg_decoration_v1.h> |
24 | #include <wlr/types/wlr_xdg_output_v1.h> | 25 | #include <wlr/types/wlr_xdg_output_v1.h> |
@@ -86,6 +87,8 @@ bool server_init(struct sway_server *server) { | |||
86 | &server->xdg_shell_surface); | 87 | &server->xdg_shell_surface); |
87 | server->xdg_shell_surface.notify = handle_xdg_shell_surface; | 88 | server->xdg_shell_surface.notify = handle_xdg_shell_surface; |
88 | 89 | ||
90 | server->tablet_v2 = wlr_tablet_v2_create(server->wl_display); | ||
91 | |||
89 | server->server_decoration_manager = | 92 | server->server_decoration_manager = |
90 | wlr_server_decoration_manager_create(server->wl_display); | 93 | wlr_server_decoration_manager_create(server->wl_display); |
91 | wlr_server_decoration_manager_set_default_mode( | 94 | wlr_server_decoration_manager_set_default_mode( |