aboutsummaryrefslogtreecommitdiff
path: root/rootston/input.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-10-20 23:19:41 -0400
committerDrew DeVault <sir@cmpwn.com>2017-10-20 23:19:41 -0400
commit1782d5e7b7dc5e494cfee72b758d5fa8114aecc8 (patch)
treebd6b66b2e40db21d73b218adfc45c305174e1df8 /rootston/input.c
parent59fa18fbc9c13d23b85f27a9f262d8e435c0ef75 (diff)
Implement simple touch support for rootston
Diffstat (limited to 'rootston/input.c')
-rw-r--r--rootston/input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rootston/input.c b/rootston/input.c
index 86a87e24..1784040c 100644
--- a/rootston/input.c
+++ b/rootston/input.c
@@ -37,7 +37,7 @@ static void input_add_notify(struct wl_listener *listener, void *data) {
pointer_add(device, input);
break;
case WLR_INPUT_DEVICE_TOUCH:
- //touch_add(device, input);
+ touch_add(device, input);
break;
case WLR_INPUT_DEVICE_TABLET_TOOL:
tablet_tool_add(device, input);
@@ -58,7 +58,7 @@ static void input_remove_notify(struct wl_listener *listener, void *data) {
pointer_remove(device, input);
break;
case WLR_INPUT_DEVICE_TOUCH:
- //touch_remove(device, input);
+ touch_remove(device, input);
break;
case WLR_INPUT_DEVICE_TABLET_TOOL:
tablet_tool_remove(device, input);