aboutsummaryrefslogtreecommitdiff
path: root/common/loop.c
AgeCommit message (Collapse)AuthorLines
2018-10-15swaylock: Remove indicator after 3 secondsRyan Dwyer-3/+16
2018-10-15Move swaybar's event loop to common directory and refactorRyan Dwyer-0/+105
* The loop functions are now prefixed with `loop_`. * It is now easy to add timers to the loop. * Timers are implemented using pollfd and timerfd, rather than manually checking them when any other event happens to arrive.