Chris Guillott
34c2d5e1a3
patch in i3lock-color commits
9 years ago
Michael Stapelberg
59705b05b5
Show unlock indicator if password was entered during PAM verification
fixes #51
9 years ago
Deiz
dda29f93a1
Update copyright notices and get rid of ranges
The script used to make these changes can be found at:
https://gist.github.com/Deiz/32322020f76d23e2bf8f
10 years ago
Deiz
b4f6dae10e
List generic pressed modifiers on failure
10 years ago
Alexandre Boeglin
a9ecf1e0c9
Add capslock and numlock indicators
When the unlock indicator warns the user that a password was typed
wrong, it now also reports the state of the capslock and numlock
modifiers.
Signed-off-by: Alexandre Boeglin <alex@boeglin.org>
10 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
koebi
0cbf483cb4
implemented logging the number of failed attempts
This closes #1243
10 years ago
Michael Stapelberg
6191590e5c
Scale the unlock indicator (for retina displays)
11 years ago
Vytautas Šaltenis
2509c987d1
Extract start/stop timer code to reusable funcs
11 years ago
Sebastian Ullrich
e0213cb1f5
Fix centering the indicator in the no-xinerama case
12 years ago
Michael Stapelberg
fba88476dd
remove support for NOLIBCAIRO, cairo-xcb is widespread by now
12 years ago
Michael Stapelberg
e1d86a3279
use libxkbcommon for input handling
Thanks to Ran Benita and Daniel Stone (the libxkbcommon authors) for
answering my questions and reviewing this code.
With this commit, input handling should be more correct with using less
code (in i3lock, that is).
12 years ago
Michael Stapelberg
9b29ae7afd
Bugfix: Correctly center unlock indicator after reconfiguring screens (Thanks xn)
Fixes : #712
13 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
2053e9880a
Bugfix: Fix background color when using cairo (Thanks Pascal)
13 years ago
Simon Kämpe
f368bbd006
Added missing #ifndef NOLIBCAIRO
Needed to compile without libcairo.
13 years ago
Michael Stapelberg
5e14ad0605
draw the unlock indicator in the middle of every screen
13 years ago
Michael Stapelberg
02655d2ddf
Fix a few memory leaks
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