diff options
author | Markus Ongyerth <ongy@ongy.net> | 2018-06-16 11:19:48 +0200 |
---|---|---|
committer | Markus Ongyerth <ongy@ongy.net> | 2018-07-14 09:49:58 +0200 |
commit | d9e978e1b379c811c47f4b3b75f1ec186a640ff7 (patch) | |
tree | 7c543e492c4baced055592702c8cf3399fd79947 /backend/libinput/events.c | |
parent | b84288af16f56295a66d58bdb41b7ba7c4dd54f3 (diff) |
rename wlr_tablet_tool to wlr_tablet
The previous naming was based on the input-device capability names from
libinput.
With code that uses the libinput_tablet_tool and mapping into tablet-v2,
this is confusing, so the name is changed to follow the names used in
the protocol.
Diffstat (limited to 'backend/libinput/events.c')
-rw-r--r-- | backend/libinput/events.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/libinput/events.c b/backend/libinput/events.c index 93664af2..0548e502 100644 --- a/backend/libinput/events.c +++ b/backend/libinput/events.c @@ -130,8 +130,8 @@ static void handle_device_added(struct wlr_libinput_backend *backend, if (!wlr_dev) { goto fail; } - wlr_dev->tablet_tool = create_libinput_tablet_tool(libinput_dev); - if (!wlr_dev->tablet_tool) { + wlr_dev->tablet = create_libinput_tablet(libinput_dev); + if (!wlr_dev->tablet) { free(wlr_dev); goto fail; } |