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.
This commit is contained in:
Markus Ongyerth 2018-09-27 18:29:53 +02:00
parent e47b8cd629
commit 3e494efc5c
2 changed files with 17 additions and 1 deletions

View file

@ -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;