aboutsummaryrefslogtreecommitdiff
path: root/backend/headless
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-07-16 20:10:38 -0700
committerGitHub <noreply@github.com>2018-07-16 20:10:38 -0700
commit7f20ab644347b11fd8242beaf7a6fe42c910d014 (patch)
tree808d0e88c28561d5853be09f7c2ab7968ce70e3f /backend/headless
parent4984ea49eeaa292d66be9e535d93a4d8185f3e18 (diff)
parent9a6f77fc2ceb59f4b5bcd1e1f8c00aa974b5192b (diff)
Merge pull request #960 from Ongy/tablet
tablet-unstable-v2 support
Diffstat (limited to 'backend/headless')
-rw-r--r--backend/headless/input_device.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/backend/headless/input_device.c b/backend/headless/input_device.c
index e0411c27..a2474aeb 100644
--- a/backend/headless/input_device.c
+++ b/backend/headless/input_device.c
@@ -60,12 +60,12 @@ struct wlr_input_device *wlr_headless_add_input_device(
wlr_touch_init(wlr_device->touch, NULL);
break;
case WLR_INPUT_DEVICE_TABLET_TOOL:
- wlr_device->tablet_tool = calloc(1, sizeof(struct wlr_tablet_tool));
- if (wlr_device->tablet_tool == NULL) {
- wlr_log(WLR_ERROR, "Unable to allocate wlr_tablet_tool");
+ wlr_device->tablet = calloc(1, sizeof(struct wlr_tablet));
+ if (wlr_device->tablet == NULL) {
+ wlr_log(WLR_ERROR, "Unable to allocate wlr_tablet");
goto error;
}
- wlr_tablet_tool_init(wlr_device->tablet_tool, NULL);
+ wlr_tablet_init(wlr_device->tablet, NULL);
break;
case WLR_INPUT_DEVICE_TABLET_PAD:
wlr_device->tablet_pad = calloc(1, sizeof(struct wlr_tablet_pad));