summaryrefslogtreecommitdiff
path: root/src/wfdevent.c
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-04-04 16:22:39 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-04-04 16:31:48 +0200
commitc396f08118cb16597bda80158aa5eb6532cdebd2 (patch)
treef33e7e19de9f1f63b30ac01a5bb280287d7801de /src/wfdevent.c
parent50152dfb2ba76dc33fea19d0dc70bc3e1c7825e5 (diff)
Fix output hotplug when the port has no handle
Diffstat (limited to 'src/wfdevent.c')
-rw-r--r--src/wfdevent.c3
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);
}