wlroots/include/backend
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
..
drm drm: Allow to add additional modes 2018-07-07 14:51:39 +02:00
session Use more consistent include guard names 2017-09-23 10:26:01 +02:00
headless.h backend/{x11,headless}: fix refresh rate 2018-04-03 22:54:01 -04:00
libinput.h backend/libinput: Manage tablet tool livetimes 2018-07-14 09:40:39 +02:00
multi.h Reformat all #include directives 2018-02-12 21:29:23 +01:00
wayland.h Add support for discrete axis values 2018-05-12 13:34:58 +01:00
x11.h backend/x11: add one pointer per output 2018-04-29 14:46:29 +01:00