ecore_drm: Don't crash if a device is assigned a bad output
authorDerek Foreman <derekf@osg.samsung.com>
Wed, 22 Apr 2015 18:32:16 +0000 (14:32 -0400)
committerChris Michael <cp.michael@samsung.com>
Wed, 22 Apr 2015 18:32:16 +0000 (14:32 -0400)
commit67460e2d78c88f525f15620ae7a583b21fc997d4
tree51fdff66260f5d16581ec64a45432a8e2d8f8c55
parent0d1d62a6ab35ab22bd873dafffbf5b1469e4572e
ecore_drm: Don't crash if a device is assigned a bad output

Summary:
If an input device is assigned via udev to an output that we can't find
we just assign it to the first output instead.

Reviewers: zmike, devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2408
src/lib/ecore_drm/ecore_drm_evdev.c