[PATCH libinput 00/14] tablet: the big "tablet" -> "tablet tool" rename

Peter Hutterer peter.hutterer at who-t.net
Tue Nov 17 20:17:47 PST 2015


The current tablet API is a bit inconsistent, we have various 'tablet'
prefixes (libinput_event_tablet) and 'tool' prefixes
(libinput_tool_get_serial). That made sense in the early stages when the
emphasis on tools wasn't as strong as it is now.

The tablet interface now is aimed solely at tablet tools and we get
inconsistencies in the API, it's not always clear whether something is a
libinput_tool_foo or a libinput_tablet_foo. This patchset renames everything
tablet-related to use 'tablet_tool' as prefix. Makes the API verbose but not
much to do about that unless someone comes up with a better name than
"tablet tool".

The wayland tablet protocol is also tool-focused, so this rename brings it
in line.

Patches are all simple sed renames with a few indentation changes, and
split into 13 patches to avoid overloading reviewer brains :)
Patch 14 is new, and has a bunch of documentation on top.

Cheers,
  Peter


More information about the wayland-devel mailing list