From 7523de7c61b9eac310b10bf6711c75af2cd9b2f4 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sat, 23 Sep 2017 10:36:32 -0400 Subject: Wire up pointer, start on cursor --- rootston/input.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'rootston/input.c') diff --git a/rootston/input.c b/rootston/input.c index 8764e9b0..d551715b 100644 --- a/rootston/input.c +++ b/rootston/input.c @@ -31,16 +31,16 @@ static void input_add_notify(struct wl_listener *listener, void *data) { device->vendor, device->product, device_type(device->type)); switch (device->type) { case WLR_INPUT_DEVICE_KEYBOARD: - //keyboard_add(device, state); + //keyboard_add(device, input); break; case WLR_INPUT_DEVICE_POINTER: - //pointer_add(device, state); + pointer_add(device, input); break; case WLR_INPUT_DEVICE_TOUCH: - //touch_add(device, state); + //touch_add(device, input); break; case WLR_INPUT_DEVICE_TABLET_TOOL: - //tablet_tool_add(device, state); + //tablet_tool_add(device, input); break; default: break; @@ -52,16 +52,16 @@ static void input_remove_notify(struct wl_listener *listener, void *data) { struct roots_input *input = wl_container_of(listener, input, input_remove); switch (device->type) { case WLR_INPUT_DEVICE_KEYBOARD: - //keyboard_remove(device, state); + //keyboard_remove(device, input); break; case WLR_INPUT_DEVICE_POINTER: - //pointer_remove(device, state); + //pointer_remove(device, input); break; case WLR_INPUT_DEVICE_TOUCH: - //touch_remove(device, state); + //touch_remove(device, input); break; case WLR_INPUT_DEVICE_TABLET_TOOL: - //tablet_tool_remove(device, state); + //tablet_tool_remove(device, input); break; default: break; -- cgit v1.2.3