aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
authorMarkus Ongyerth <ongy@ongy.net>2018-06-16 11:19:48 +0200
committerMarkus Ongyerth <ongy@ongy.net>2018-07-14 09:49:58 +0200
commitd9e978e1b379c811c47f4b3b75f1ec186a640ff7 (patch)
tree7c543e492c4baced055592702c8cf3399fd79947 /rootston
parentb84288af16f56295a66d58bdb41b7ba7c4dd54f3 (diff)
rename wlr_tablet_tool to wlr_tablet
The previous naming was based on the input-device capability names from libinput. With code that uses the libinput_tablet_tool and mapping into tablet-v2, this is confusing, so the name is changed to follow the names used in the protocol.
Diffstat (limited to 'rootston')
-rw-r--r--rootston/seat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rootston/seat.c b/rootston/seat.c
index 5bd6e752..89a32fa9 100644
--- a/rootston/seat.c
+++ b/rootston/seat.c
@@ -103,7 +103,7 @@ static void handle_touch_motion(struct wl_listener *listener, void *data) {
static void handle_tablet_tool_position(struct roots_cursor *cursor,
struct roots_tablet_tool *tool,
- struct wlr_tablet_tool_tool *tool_tool,
+ struct wlr_tablet_tool *tool_tool,
bool change_x, bool change_y,
double x, double y, double dx, double dy) {
if (!change_x && !change_y) {
@@ -264,7 +264,7 @@ static void handle_tool_proximity(struct wl_listener *listener, void *data) {
wlr_idle_notify_activity(desktop->idle, cursor->seat->seat);
struct wlr_event_tablet_tool_proximity *event = data;
- struct wlr_tablet_tool_tool *tool = event->tool;
+ struct wlr_tablet_tool *tool = event->tool;
if (!tool->data) {
struct roots_tablet_tool_tool *roots_tool =
calloc(1, sizeof(struct roots_tablet_tool_tool));