aboutsummaryrefslogtreecommitdiff
path: root/include/rootston
diff options
context:
space:
mode:
authorMarkus Ongyerth <ongy@ongy.net>2018-09-27 18:29:53 +0200
committerMarkus Ongyerth <ongy@ongy.net>2018-09-27 18:31:50 +0200
commit3e494efc5c55dbc419aa3f05e0520a97806bc9e9 (patch)
tree2c24cebb6d2285655718d7c9951473dfff317526 /include/rootston
parente47b8cd629f9378c74673cb577cc268667a71d1e (diff)
Fix tablet_tool tilt and send proximity_out
Originally I asumed tilt_x and tilt_y are very unlikely to change independent, I was proven wrong. And while investigating Krita not using the Erasor tool, I found a bug, which is unrelated though.
Diffstat (limited to 'include/rootston')
-rw-r--r--include/rootston/seat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rootston/seat.h b/include/rootston/seat.h
index c5e584b6..8b04e892 100644
--- a/include/rootston/seat.h
+++ b/include/rootston/seat.h
@@ -114,6 +114,7 @@ struct roots_tablet_tool {
struct wlr_tablet_v2_tablet_tool *tablet_v2_tool;
struct roots_seat *seat;
+ double tilt_x, tilt_y;
struct wl_listener set_cursor;
struct wl_listener tool_destroy;