1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-05 03:50:07 +00:00

Linux: Set POLLOUT flag for fds to receive XShm completion events

This commit is contained in:
ed 2019-07-03 16:36:48 +01:00
parent ac519e541a
commit 77e93e35e4
2 changed files with 1 additions and 11 deletions

View file

@ -111,7 +111,7 @@ public:
const ScopedLock sl (lock);
fdReadCallbacks.push_back ({ fd, std::move (cb) });
pfds.push_back ({ fd, POLLIN, 0 });
pfds.push_back ({ fd, POLLIN | POLLOUT, 0 });
}
void unregisterFdCallback (int fd)