diff options
author | Scott Anderson <scott@anderso.nz> | 2018-04-21 14:38:34 +1200 |
---|---|---|
committer | Scott Anderson <scott@anderso.nz> | 2018-04-21 14:38:34 +1200 |
commit | 9a3fb33e33b2503809d9d3a1b0d10c21bc112a80 (patch) | |
tree | b8b262da93dbd5b13d30190f86f3d82fe66e537a /swaybar/status_line.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/status_line.c')
0 files changed, 0 insertions, 0 deletions