summaryrefslogtreecommitdiff
path: root/src/lib/elput/elput_evdev.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-05-26 16:34:10 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-05-26 16:27:43 -0400
commitd4ce9b1ac38b6297ceccc8cdbb9b0bb2e8f3ec66 (patch)
treefb0ae567ebf72457ed10ac75d2ae94e79c3ac30f /src/lib/elput/elput_evdev.c
parentcf6fc05610a60873cfa890d8e39626024527e94a (diff)
elput: store output w/h and apply to devices on creation
fix async device initialization for devices which need this (e.g., touchpads) @fix
Diffstat (limited to '')
-rw-r--r--src/lib/elput/elput_evdev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/elput/elput_evdev.c b/src/lib/elput/elput_evdev.c
index b4118fe82f..a212691787 100644
--- a/src/lib/elput/elput_evdev.c
+++ b/src/lib/elput/elput_evdev.c
@@ -1555,6 +1555,8 @@ _evdev_device_create(Elput_Seat *seat, struct libinput_device *device)
1555 edev->seat = seat; 1555 edev->seat = seat;
1556 edev->device = device; 1556 edev->device = device;
1557 edev->caps = 0; 1557 edev->caps = 0;
1558 edev->ow = seat->manager->output_w;
1559 edev->oh = seat->manager->output_h;
1558 1560
1559 oname = libinput_device_get_output_name(device); 1561 oname = libinput_device_get_output_name(device);
1560 eina_stringshare_replace(&edev->output_name, oname); 1562 eina_stringshare_replace(&edev->output_name, oname);