aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorMarkus Ongyerth <ongy@ongy.net>2018-06-18 09:30:24 +0200
committerMarkus Ongyerth <ongy@ongy.net>2018-07-14 09:49:58 +0200
commit36955204cf87f723de1deb32da4b774d56bed478 (patch)
treed1c32a7148b647c16d9d37cfc5b68007a62f9ae3 /backend
parentd9e978e1b379c811c47f4b3b75f1ec186a640ff7 (diff)
Remove last remnant of tool_tool in libinput
Diffstat (limited to 'backend')
-rw-r--r--backend/libinput/tablet_tool.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/libinput/tablet_tool.c b/backend/libinput/tablet_tool.c
index 563338b8..adfc6221 100644
--- a/backend/libinput/tablet_tool.c
+++ b/backend/libinput/tablet_tool.c
@@ -43,7 +43,7 @@ struct wlr_libinput_tablet {
struct wl_list tools; // tablet_tool_list_elem::link
};
-static void destroy_tool_tool(struct wlr_libinput_tablet_tool *tool) {
+static void destroy_tool(struct wlr_libinput_tablet_tool *tool) {
wlr_signal_emit_safe(&tool->wlr_tool.events.destroy, &tool->wlr_tool);
libinput_tablet_tool_ref(tool->libinput_tool);
libinput_tablet_tool_set_user_data(tool->libinput_tool, NULL);
@@ -64,7 +64,7 @@ static void destroy_tablet(struct wlr_tablet *wlr_tablet) {
free(pos);
if (--tool->pad_refs == 0) {
- destroy_tool_tool(tool);
+ destroy_tool(tool);
}
}
@@ -296,7 +296,7 @@ void handle_tablet_tool_proximity(struct libinput_event *event,
}
}
- destroy_tool_tool(tool);
+ destroy_tool(tool);
}
}