summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-04-16 10:51:56 -0400
committerChris Michael <cp.michael@samsung.com>2015-04-16 10:51:56 -0400
commit6d243f567200b33a6bbe5e0bc897c59827b329df (patch)
tree23406aff1748b1ba8151897c027085848318a5f4
parent46a04d8803ec3dd0927fd8cf44368f65e8bda8fa (diff)
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>
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_drm/ecore_drm_device.c2
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)
316 316
317 dev->watch = 317 dev->watch =
318 eeze_udev_watch_add(EEZE_UDEV_TYPE_DRM, events, 318 eeze_udev_watch_add(EEZE_UDEV_TYPE_DRM, events,
319 _ecore_drm_device_cb_output_event, NULL); 319 _ecore_drm_device_cb_output_event, dev);
320 320
321 dev->drm.hdlr = 321 dev->drm.hdlr =
322 ecore_main_fd_handler_add(dev->drm.fd, ECORE_FD_READ, 322 ecore_main_fd_handler_add(dev->drm.fd, ECORE_FD_READ,