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:
Chris Michael 2015-04-16 10:51:56 -04:00
parent 46a04d8803
commit 6d243f5672
1 changed files with 1 additions and 1 deletions

View File

@ -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,