aboutsummaryrefslogtreecommitdiff
path: root/examples
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 /examples
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 'examples')
-rw-r--r--examples/tablet.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/tablet.c b/examples/tablet.c
index 7332afe0..4a27d0e1 100644
--- a/examples/tablet.c
+++ b/examples/tablet.c
@@ -326,11 +326,11 @@ void new_input_notify(struct wl_listener *listener, void *data) {
tstate->destroy.notify = tablet_tool_destroy_notify;
wl_signal_add(&device->events.destroy, &tstate->destroy);
tstate->axis.notify = tablet_tool_axis_notify;
- wl_signal_add(&device->tablet_tool->events.axis, &tstate->axis);
+ wl_signal_add(&device->tablet->events.axis, &tstate->axis);
tstate->proximity.notify = tablet_tool_proximity_notify;
- wl_signal_add(&device->tablet_tool->events.proximity, &tstate->proximity);
+ wl_signal_add(&device->tablet->events.proximity, &tstate->proximity);
tstate->button.notify = tablet_tool_button_notify;
- wl_signal_add(&device->tablet_tool->events.button, &tstate->button);
+ wl_signal_add(&device->tablet->events.button, &tstate->button);
wl_list_insert(&sample->tablet_tools, &tstate->link);
break;
default: