mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 12:55:58 +01:00
Remove last remnant of tool_tool in libinput
This commit is contained in:
parent
d9e978e1b3
commit
36955204cf
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue