~kris/suckless

slock

ref: 8f6f789708e1aaa6a4ffca307069f49aa7c85da8 slock/slock.c -rw-r--r-- 20.3 KiB
8f6f7897 — herrwusel 4 years ago
Consistent unlock styles with pam and blur patches
e71a42ee — bakkeby 4 years ago
Adding background image patch
312951b9 — bakkeby 4 years ago
Proposed change to avoid high CPU usage ref. #7
51d3f49e — bakkeby 4 years ago
Fix for secret password patch compilation error ref. #6
e5e04272 — bakkeby 5 years ago
Adding dwmlogo patch ref. #5
e5a9d853 — bakkeby 5 years ago
Adding auto-timeout patch
35fd53f6 — bakkeby 5 years ago
Adding secret password patch
7dc45011 — bakkeby 5 years ago
Adding failure-command patch
d2be9eb6 — bakkeby 5 years ago
Adding color message patch ref. #3
0bba4617 — bakkeby 6 years ago
Adding alpha patch
74c66223 — bakkeby 6 years ago
Adding blur pixelated screen patch
c07648d3 — bakkeby 6 years ago
Adding keypress_feedback patch
2445d75b — bakkeby 6 years ago
Fix bug in DPMS patch + moved patches.h to patches.def.h to match that of config
4c905a9c — bakkeby 6 years ago
Adding xresources patch
2cf80900 — bakkeby 6 years ago
Added capscolor, control clear, dpms, mediakeys, message, pam auth, quickcancel patches
35633d45 — Tobias Stoeckmann 9 years ago
Properly clear the last entered character

When enter is pressed, passwd[len] will be set to '\0'. Pressing
backspace is supposed to remove the last entered character.

But currently, the clearing has an off-by-one, as in setting
passwd[len] to '\0' just like enter would do.

You can also verify it by imagining len=1 and that it's impossible to
clear passwd[0] by pressing backspace with the current code.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
325581b9 — Markus Teich 9 years ago
syntax fix
0ff0d9f7 — Markus Teich 9 years ago
there can only be one window in the event
7a604ec1 — Bob Uhl 9 years ago
Fix resize with multiple monitors and portrait mode

When connecting/disconnecting a portrait monitor, the
XRRScreenChangeNotifyEvent height & width are reversed due to the XRandR
rotation; detect this and DTRT.
7d31ff65 — Markus Teich 9 years ago
move config.h inclusion after type declarations
Next