From b96590664ae645efb740a9ad1b3c08385ade102a Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Wed, 12 Oct 2016 18:18:51 +0200
Subject: Mark an issue
---
dwmstatus.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dwmstatus.c b/dwmstatus.c
index 3eaf99d..da2b78f 100644
--- a/dwmstatus.c
+++ b/dwmstatus.c
@@ -188,6 +188,10 @@ poller_pa_io_new (pa_mainloop_api *api, int fd_, pa_io_event_flags_t events,
fd->user_data = self;
fd->dispatcher = poller_pa_io_dispatcher;
+ // FIXME: under x2go PA tries to register twice for the same FD,
+ // which fails with our curent poller implementation;
+ // we could maintain a list of { poller_fd, listeners } structures;
+ // or maybe we're doing something wrong, which is yet to be determined
poller_pa_io_enable (self, events);
LIST_PREPEND (data->io_list, self);
return self;
--
cgit v1.2.3-70-g09d2