discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=d725ae5a0a244fd758944fa9847130336477ed66

commit d725ae5a0a244fd758944fa9847130336477ed66
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri May 26 16:34:10 2017 -0400

    elput: fallback to regular device name if output_name is not available
---
 src/lib/elput/elput_evdev.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/elput/elput_evdev.c b/src/lib/elput/elput_evdev.c
index 741d1fdfb2..81f1302f54 100644
--- a/src/lib/elput/elput_evdev.c
+++ b/src/lib/elput/elput_evdev.c
@@ -1565,6 +1565,8 @@ _evdev_device_create(Elput_Seat *seat, struct 
libinput_device *device)
    edev->oh = seat->manager->output_h;
 
    oname = libinput_device_get_output_name(device);
+   if (!oname)
+     oname = libinput_device_get_name(device);
    eina_stringshare_replace(&edev->output_name, oname);
 
    if ((libinput_device_has_capability(device, LIBINPUT_DEVICE_CAP_KEYBOARD)) 
&&

-- 


Reply via email to