Chris Guillott
3637d7ba28
fix pointer bugs, fix arithmetic bugs, expose more variables for time/date pos
8 years ago
Chris Guillott
445abed154
fix whitespacing, remove debug stuff, oops
8 years ago
Chris Guillott
638cf1a6e2
clock/text fixes, string fixes
8 years ago
Chris Guillott
32d99ccd6f
allow variable refresh rates
idk why you'd do this, but alright
8 years ago
Chris Guillott
5aaf5a293e
tweak indicator stuff
8 years ago
Aline
f2ef5989e1
Separated time and date display
8 years ago
Aline
e26171d545
Make clock font size modifiable
8 years ago
Aline
e64f9adedc
Made clock position freely modifiable
8 years ago
Aline
2193acef3b
Added CLI options for date/time font and clock text color
8 years ago
Chris Guillott
03ead33cbd
fix stuff
8 years ago
Chris Guillott
12a83555d5
un-bork merge commit
oops
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
Bownairo
9c8ae8b5d1
Change input slices to be exactly pi/3 in size instead of slightly more ( #107 )
8 years ago
Chris Guillott
5e1de46792
also narrow the new keystroke width
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
Vasilij Schneidermann
893aff1bd0
Set font face ( #89 )
8 years ago
Chris Guillott
ed326ee463
add option for single-display unlock indicator
9 years ago
Chris Guillott
7fb899bcd5
expose separator color for theming + bug fix
I did a double take, apparently he messed up a copy/paste.
9 years ago
Chris Guillott
cf522a301f
add a couple options for drawing the line color
9 years ago
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