summaryrefslogtreecommitdiff
path: root/loop.c
AgeCommit message (Collapse)Author
2025-03-18Define _POSIX_C_SOURCE globallySimon Ser
Other Sway projects have switched to this approach.
2022-09-24Unlock the screen on SIGUSR1Daniel De Graaf
When the screen is locked using ext_session_lock, killing swaylock will leave the session locked. This is normally desirable if the kill is due to the OOM killer or swaylock crashing, but can be undesirable if an unlock is desired. This adds a signal handler for SIGUSR1 if using ext_session_lock.
2021-07-29Check for poll errorsSimon Ser
2020-06-19Implement key repeatMartin Dørum
2019-05-20loop: bump required POSIX version for poll()Jan Beich
2019-01-17loop: fix loop_add_fd when called multiple timesemersion
2019-01-15Remove list.cBrian Ashworth
This replaces all occurrences of `list_t` with `wl_list` to eliminate the need for `list.c`
2019-01-14Implement logging and remove wlroots dependencyBrian Ashworth
This implements a simpler version of the wlroots logger for swaylock. With this logger, the dependency on wlroots can be dropped. This also adds a debug flag and disables debugging output by default
2019-01-13Convert swaylock into standalone projectDrew DeVault