aboutsummaryrefslogtreecommitdiff
path: root/sway/input/input-manager.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-04-26 12:32:10 +0200
committerGitHub <noreply@github.com>2018-04-26 12:32:10 +0200
commit64e0731cc7206e8becfe6f80bc58362aa53f07b6 (patch)
tree3736887591d8464f577d2ad4a753a404d38d77ae /sway/input/input-manager.c
parentd94bb78ff3ade39cc848d0acfd571b9ac6917868 (diff)
parentff61df17ffd358b03663a35fe7140e51e1ee98fc (diff)
Merge pull request #1860 from emersion/input-map-from
Add map_from_region command
Diffstat (limited to 'sway/input/input-manager.c')
-rw-r--r--sway/input/input-manager.c1
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) {
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);