diff options
author | John Chadwick <johnwchadwick@gmail.com> | 2019-09-17 21:46:29 -0700 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-09-25 23:10:33 -0400 |
commit | 7e420cb6e4a334dea7296060820de12a768b76da (patch) | |
tree | 143678e6ff0a4b4223e2dfe30086eb5e2d2ab174 /include/sway/server.h | |
parent | Add support for fullscreen view direct scan-out (diff) | |
download | sway-7e420cb6e4a334dea7296060820de12a768b76da.tar.gz sway-7e420cb6e4a334dea7296060820de12a768b76da.tar.zst sway-7e420cb6e4a334dea7296060820de12a768b76da.zip |
input: Add support for tablet protocol.
Sway has basic support for drawing tablets, but does not expose
properties such as pressure sensitivity. This implements the wlr tablet
v2 protocol, providing tablet events to Wayland clients.
Diffstat (limited to 'include/sway/server.h')
-rw-r--r-- | include/sway/server.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/server.h b/include/sway/server.h index a43cbf72..cd411d3b 100644 --- a/include/sway/server.h +++ b/include/sway/server.h | |||
@@ -44,6 +44,8 @@ struct sway_server { | |||
44 | struct wlr_xdg_shell *xdg_shell; | 44 | struct wlr_xdg_shell *xdg_shell; |
45 | struct wl_listener xdg_shell_surface; | 45 | struct wl_listener xdg_shell_surface; |
46 | 46 | ||
47 | struct wlr_tablet_manager_v2 *tablet_v2; | ||
48 | |||
47 | #if HAVE_XWAYLAND | 49 | #if HAVE_XWAYLAND |
48 | struct sway_xwayland xwayland; | 50 | struct sway_xwayland xwayland; |
49 | struct wl_listener xwayland_surface; | 51 | struct wl_listener xwayland_surface; |