summaryrefslogtreecommitdiff
path: root/unlock_indicator.h
AgeCommit message (Collapse)Author
2017-04-17Use bsd_auth(3) instead of PAM on OpenBSDJasper Lievisse Adriaanse
Also apply two security measures for OpenBSD: - use explicit_bzero(3) - mlock(2) works for non-root users too
2017-04-15Rename all PAM-independant variables/comments.Jasper Lievisse Adriaanse
there is nothing PAM-specific about pam_state or pam_state_t. therefore rename them to be authenticator independant.
2016-10-11Display error message when locking failed (#99)eplanet
To give a feedback for when the pointer couldn't be grabbed, displaying an error message before exiting.
2016-09-27Displaying locking message when grabbing the pointer/keyboard. (#88)eplanet
Display "locking…" message when grabbing the pointer/keyboard, after at least 250 ms of unfruitful attempts. If grabbing eventually fails, application will not fork and return 1.
2015-03-16clang-format -i **/*.[ch]Michael Stapelberg
From here on, we’ll use clang-format to automatically format the source. This has worked well in i3, so we are introducing it for i3lock.
2014-03-11Extract start/stop timer code to reusable funcsVytautas Šaltenis
2012-04-01Use (void) instead of () for functions without args (Thanks fernandotcl)Michael Stapelberg
See also: http://article.gmane.org/gmane.linux.kernel/1268792 The C compiler will handle (void) as "no arguments" and () as "variadic function" (equivalent to (...)) which might lead to subtle errors, such as the one which was fixed with commit 0ea64ae4.
2012-01-03Properly free timeouts, move one of the timeouts to unlock_indicator.cMichael Stapelberg
2012-01-03Refactor the unlock indicator into its own source code fileMichael Stapelberg