diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-04-04 16:22:39 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-04-04 16:31:48 +0200 |
commit | c396f08118cb16597bda80158aa5eb6532cdebd2 (patch) | |
tree | f33e7e19de9f1f63b30ac01a5bb280287d7801de /src/wfdevent.c | |
parent | 50152dfb2ba76dc33fea19d0dc70bc3e1c7825e5 (diff) |
Fix output hotplug when the port has no handle
Diffstat (limited to 'src/wfdevent.c')
-rw-r--r-- | src/wfdevent.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wfdevent.c b/src/wfdevent.c index 2fa4a6a..128fa60 100644 --- a/src/wfdevent.c +++ b/src/wfdevent.c @@ -28,6 +28,7 @@ #include "wfdregistry.h" #include "wfdevent.h" +#include "wfdport.h" #include "wfdpipeline.h" #include <xf86drm.h> @@ -230,7 +231,7 @@ wfd_event_wait(struct wfd_device *device, u_event = udev_monitor_receive_device(event->udev_monitor); if (udev_event_is_hotplug_for_device(u_event, device)) { - event_type = wfd_device_find_port_attach_detach(device, + event_type = wfd_ports_find_attach_detach(device, &event->attach_port_id, &event->attach_state); } |