aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2016-10-12 18:18:51 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2016-10-12 18:18:51 +0200
commitb96590664ae645efb740a9ad1b3c08385ade102a (patch)
tree1417fe8f576e711476e8db9bb672e4324be3d269
parent6d553640b5e99f99748737a59b078b0b966e8d3c (diff)
downloaddesktop-tools-b96590664ae645efb740a9ad1b3c08385ade102a.tar.gz
desktop-tools-b96590664ae645efb740a9ad1b3c08385ade102a.tar.xz
desktop-tools-b96590664ae645efb740a9ad1b3c08385ade102a.zip
Mark an issue
-rw-r--r--dwmstatus.c4
1 files changed, 4 insertions, 0 deletions
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;