mirror of
https://github.com/swaywm/sway.git
synced 2025-10-31 22:25:26 -04:00
Remove timerfd from loop implementation
timerfd doesn't work on the BSDs, so this replaces it with a timespec for the expiry and uses a poll timeout to check the timers when needed.
This commit is contained in:
parent
f98f351a52
commit
6921fdc6d6
7 changed files with 128 additions and 65 deletions
|
|
@ -69,7 +69,6 @@ struct swaybar {
|
|||
struct status_line *status;
|
||||
|
||||
struct loop *eventloop;
|
||||
struct loop_event *status_event;
|
||||
|
||||
int ipc_event_socketfd;
|
||||
int ipc_socketfd;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue