diff options
Diffstat (limited to 'sway/input/input-manager.c')
-rw-r--r-- | sway/input/input-manager.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) { | |||
211 | if (!sway_assert(input_device, "could not allocate input device")) { | 211 | if (!sway_assert(input_device, "could not allocate input device")) { |
212 | return; | 212 | return; |
213 | } | 213 | } |
214 | device->data = input_device; | ||
214 | 215 | ||
215 | input_device->wlr_device = device; | 216 | input_device->wlr_device = device; |
216 | input_device->identifier = get_device_identifier(device); | 217 | input_device->identifier = get_device_identifier(device); |