wlroots-hyprland/include/wlr
Markus Ongyerth 000b305ecc backend/libinput: Manage tablet tool livetimes
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.
2018-07-14 09:40:39 +02:00
..
backend Multiseat fixes 2018-06-14 20:46:16 +12:00
interfaces Merge branch 'master' into screencontent 2018-05-31 12:33:27 +01:00
render render: add wlr_texture_is_opaque 2018-07-12 23:35:33 +01:00
types backend/libinput: Manage tablet tool livetimes 2018-07-14 09:40:39 +02:00
util util: add wlr_ prefix to log symbols 2018-07-09 22:49:54 +01:00
backend.h backends: implement custom EGL and renderer initialization 2018-05-25 14:56:52 +03:00
meson.build Install include directory into includedir 2018-04-03 16:56:32 +02:00
xcursor.h Fix typo in xcursor.h 2018-02-02 08:48:01 -05:00
xwayland.h Fix Xwayland cleanup 2018-05-10 01:44:17 +02:00