summaryrefslogtreecommitdiff
path: root/slock.c
AgeCommit message (Collapse)Author
2015-05-08Option to not show failure color on clearNick Currier
2015-04-01resize lockscreen window after Xrandr resizeMarkus Teich
2015-04-01Blank the screen with color 0, add third color for failed loginsDavid Phillips
- Adds another color in config.def.h, COLOR_INIT - Renames the colours from numerical ones to ones with meaningful names; COLOR_INPUT for when there is content in the input buffer and COLOR_EMPTY for when the input buffer has been cleared (backspaced or a failed attempt). - Ensures XFreeColors frees the right number of colours. This is now derived from the size of `Lock->colors` rather than being an integer literal. - Makes slock exhibit the behaviour described by Markus The default colours are the same as the ones slock currently uses, with the exception of the new color, which I have set to red, as it indicates someone has either failed an attempt to unlock, or that they have entered input and erased it all.
2015-01-27applied Dimitris' style patch from Dec'14, with some minor modificationsAnselm R Garbe
2014-12-22fixed usage stringAnselm R Garbe
2014-12-22applied sin's patch and prepared new releaseAnselm R Garbe
2014-11-09end{pw,sp}ent() can only be called after get{pw,sp}ent()sin
Calling them unconditionally can result in memory corruption.
2014-07-09Only check errno if getpwuid() failssin
Checking errno otherwise is unspecified.
2014-06-09Add /etc/passwd supportFRIGN
Fix slock to work with /etc/passwd without /etc/shadow. while we're at it, remove an occurence of trailing whitespace.
2014-01-29Set errno to 0 before getpwuid() and check it afterwardssin
2013-08-02applied Robert Schneider's Linux suggestions, also bumped version and ↵Anselm R Garbe
updated LICENSE file's copyright notice
2012-08-02applied andres' multi-slock fix, thanks for spotting this issuegarbeam@gmail.com
2012-04-15added Ben's password placeholder entry kludgeanselm@garbe.us
2012-03-17applied Eckehard Bern's dualcolor patch to slockanselm@garbe.us
2012-02-09select for SubstructureRedirectMask as wellanselm@garbe.us
2012-02-09fixed missing new linesanselm@garbe.us
2012-02-05typo fixanselm@garbe.us
2012-02-05added XRaiseWindow workaround when new clients are launchedanselm@garbe.us
2012-01-24applied Michaels patchgarbeam@gmail.com
2012-01-22added dummy error handler to prevent X from terminating slock just in caseanselm@garbe.us
2011-04-21applied Markus' patch to die in case /etc/passwd is unavailableAnselm R Garbe
2009-11-26applied Fernando Silveira's multiscreen patch for old style multihead setupsAnselm R Garbe
2008-12-12applied Ali Gholami Rudi's patch regarding DPMS timeout customization and ↵a@null
persistence
2008-07-29prepared releaseAnselm R Garbe
2008-07-29removed useless chars, prepared releaseAnselm R Garbe
2008-04-09s/d//Anselm R Garbe
2008-04-09yet another DPMS fix, still trying to prevent the error handlerAnselm R Garbe
2008-04-08fixed DPMS crashing issueAnselm R Garbe
2008-02-22applied two patches, BSD_AUTH patch and Gottox' DPMS support patchAnselm R Garbe
2007-11-25removed Sander from -v by requestAnselm R. Garbe
2007-11-24next version will be 0.8Anselm R. Garbe
2007-11-24final fixes and cleanupsAnselm R. Garbe
2007-11-13applied Ryan Sorensen bugfix which allows slock to acquire the keyboard grab ↵arg@suckless.org
asynchroneously
2007-04-13updating copyright stuff in slock as wellAnselm R. Garbe
2007-03-07grab on the root window, it is correct, all lockers do thatAnselm R. Garbe
2007-03-02grab on the slock window instead on the root windowAnselm R. Garbe
2007-02-21made slock more readable, added root variable because we intend to call ↵Anselm R. Garbe
RootWindow(...) quite a lot
2007-02-21made slock more aggressive, DenisG please recheckAnselm R. Garbe
2007-02-01foobarAnselm R. Garbe
2007-01-13fixed a potential buffer overflow bug on the stack (thanks to Ghassan Misherg)Anselm R. Garbe
2006-11-26fixed sizeof stuffarg@mig29
2006-10-31small fix of Vincent's patcharg@mig29
2006-10-31applied Vincent's path with some modificationsarg@mig29
2006-10-18applied somwhat similiar patch like Alex Elide proposedAnselm R. Garbe
2006-10-16added pointer grabAnselm R. Garbe
2006-10-12removed control mask handling for slock (quite useless in my eyes)Anselm R. Garbe
2006-10-12applied Salmi's patchAnselm R. Garbe
2006-10-12applied BSD support patchAnselm R. Garbe
2006-10-11adding black cursorAnselm R. Garbe
2006-10-11adding a coffee mug cursorAnselm R. Garbe