diff options
author | Chris Michael <cp.michael@samsung.com> | 2015-04-16 10:51:56 -0400 |
---|---|---|
committer | Chris Michael <cp.michael@samsung.com> | 2015-04-16 10:51:56 -0400 |
commit | 6d243f567200b33a6bbe5e0bc897c59827b329df (patch) | |
tree | 23406aff1748b1ba8151897c027085848318a5f4 | |
parent | 46a04d8803ec3dd0927fd8cf44368f65e8bda8fa (diff) | |
download | efl-6d243f567200b33a6bbe5e0bc897c59827b329df.tar.gz |
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>
-rw-r--r-- | src/lib/ecore_drm/ecore_drm_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_device.c b/src/lib/ecore_drm/ecore_drm_device.c index ad3a3f6be7..e6a5c00a79 100644 --- a/src/lib/ecore_drm/ecore_drm_device.c +++ b/src/lib/ecore_drm/ecore_drm_device.c @@ -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, |