mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-23 18:39:48 +01:00
000b305ecc
This adds the management code to manage tablet tools lifetimes from libinput. It follows the suggestion made in the tablet-unstable-v2.xml to destroy tablet_tools once all tablets that it got into contact with were removed from the system. This is implemented via a refcount. If a tool is *not* unique, it will be destroyed on proximity out. This is libinput specific and mentioned in libinput docs that tools will not be found again, so we shouldn't keep a reference to them. Also they can't be on other tablets as well, because they cannot be tracked. The naming in this commit is a bit off (to not break things). The wlr names stay the same, tablet_tool is the libinput_device with capaiblity LIBINPUT_DEVICE_CAP_TABLET_TOOL which is more akin to "tablet" in the tablet-unstable-v2 protocol. The struct that corresponds to the tablet_tool in tablet-unstable-v2 is called tablet_tool_tool, a rename should be done at some point in the future. |
||
---|---|---|
.. | ||
wlr_box.h | ||
wlr_buffer.h | ||
wlr_compositor.h | ||
wlr_cursor.h | ||
wlr_data_device.h | ||
wlr_export_dmabuf_v1.h | ||
wlr_gamma_control.h | ||
wlr_idle.h | ||
wlr_idle_inhibit_v1.h | ||
wlr_input_device.h | ||
wlr_input_inhibitor.h | ||
wlr_keyboard.h | ||
wlr_layer_shell.h | ||
wlr_linux_dmabuf.h | ||
wlr_list.h | ||
wlr_matrix.h | ||
wlr_output.h | ||
wlr_output_damage.h | ||
wlr_output_layout.h | ||
wlr_pointer.h | ||
wlr_primary_selection.h | ||
wlr_region.h | ||
wlr_screencopy_v1.h | ||
wlr_screenshooter.h | ||
wlr_seat.h | ||
wlr_server_decoration.h | ||
wlr_surface.h | ||
wlr_tablet_pad.h | ||
wlr_tablet_tool.h | ||
wlr_touch.h | ||
wlr_virtual_keyboard_v1.h | ||
wlr_wl_shell.h | ||
wlr_xcursor_manager.h | ||
wlr_xdg_output.h | ||
wlr_xdg_shell.h | ||
wlr_xdg_shell_v6.h |