diff options
author | 2018-04-21 14:38:34 +1200 | |
---|---|---|
committer | 2018-04-21 14:38:34 +1200 | |
commit | 9a3fb33e33b2503809d9d3a1b0d10c21bc112a80 (patch) | |
tree | b8b262da93dbd5b13d30190f86f3d82fe66e537a /swaybar/main.c | |
parent | Always send POLLHUP and POLLERR with event loop (diff) | |
download | sway-9a3fb33e33b2503809d9d3a1b0d10c21bc112a80.tar.gz sway-9a3fb33e33b2503809d9d3a1b0d10c21bc112a80.tar.zst sway-9a3fb33e33b2503809d9d3a1b0d10c21bc112a80.zip |
Change remove_event logic
We defer the removal of entries until after the poll loop has finished.
Otherwise we may end up adjusting the poll array while we're still
reading from it, causing us to skip events.
Diffstat (limited to 'swaybar/main.c')
0 files changed, 0 insertions, 0 deletions