forked from enlightenment/efl
ecore-drm: Fix hotplugging of outputs
Summary: In order to process hotplugging of outputs, we need to send the 'dev' structure as data to the callback so that we can update outputs. This fixes hotplugging of outputs when running E @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
46a04d8803
commit
6d243f5672
|
@ -316,7 +316,7 @@ ecore_drm_device_open(Ecore_Drm_Device *dev)
|
|||
|
||||
dev->watch =
|
||||
eeze_udev_watch_add(EEZE_UDEV_TYPE_DRM, events,
|
||||
_ecore_drm_device_cb_output_event, NULL);
|
||||
_ecore_drm_device_cb_output_event, dev);
|
||||
|
||||
dev->drm.hdlr =
|
||||
ecore_main_fd_handler_add(dev->drm.fd, ECORE_FD_READ,
|
||||
|
|
Loading…
Reference in New Issue