From ff61df17ffd358b03663a35fe7140e51e1ee98fc Mon Sep 17 00:00:00 2001 From: emersion Date: Tue, 24 Apr 2018 19:39:29 +0100 Subject: Add map_from_region command --- sway/input/input-manager.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sway/input/input-manager.c') diff --git a/sway/input/input-manager.c b/sway/input/input-manager.c index ae55d2a1..29b47a7b 100644 --- a/sway/input/input-manager.c +++ b/sway/input/input-manager.c @@ -211,6 +211,7 @@ static void handle_new_input(struct wl_listener *listener, void *data) { if (!sway_assert(input_device, "could not allocate input device")) { return; } + device->data = input_device; input_device->wlr_device = device; input_device->identifier = get_device_identifier(device); -- cgit v1.2.3-54-g00ecf