Chris Guillott
3d60b97f33
commit more bar stuff
7 years ago
Chris Guillott
3d6b294d11
initial keylayout work
7 years ago
Chris Guillott
12e3a846b8
fix compile warning
8 years ago
Jasper Lievisse Adriaanse
68fc2e8b5f
Use bsd_auth(3) instead of PAM on OpenBSD
Also apply two security measures for OpenBSD:
- use explicit_bzero(3)
- mlock(2) works for non-root users too
8 years ago
Jasper Lievisse Adriaanse
c1de117825
Rename all PAM-independant variables/comments.
there is nothing PAM-specific about pam_state or pam_state_t. therefore
rename them to be authenticator independant.
8 years ago
Chris Guillott
e4301604e5
add custom time formatter strings
8 years ago
Chris Guillott
158623508a
add basic clock feature
8 years ago
eplanet
d2130092cf
Display error message when locking failed ( #99 )
To give a feedback for when the pointer couldn't be grabbed,
displaying an error message before exiting.
8 years ago
eplanet
1c97a84847
Displaying locking message when grabbing the pointer/keyboard. ( #88 )
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.
8 years ago
Michael Stapelberg
68b78a7f57
clang-format -i **/*.[ch]
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.
10 years ago
Vytautas Šaltenis
2509c987d1
Extract start/stop timer code to reusable funcs
11 years ago
Michael Stapelberg
dc2b6e5f39
Use (void) instead of () for functions without args (Thanks fernandotcl)
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.
13 years ago
Michael Stapelberg
0e7e009f45
Properly free timeouts, move one of the timeouts to unlock_indicator.c
13 years ago
Michael Stapelberg
57585bef70
Refactor the unlock indicator into its own source code file
13 years ago