aboutsummaryrefslogtreecommitdiff
path: root/swaylock/main.c
AgeCommit message (Collapse)Author
2018-10-19Change initial background mode before arg parse.Connor E
2018-10-16Fix swaylock version stringRyan Dwyer
The referenced constants were not defined so it always printed "version unknown". Also it would exit with code 1. It now exits with code 0.
2018-10-15Sway clients: Exit gracefully when compositor is unavailableRyan Dwyer
2018-10-15swaylock: Use common event loopRyan Dwyer
2018-10-06swaylock: Support keyboard and pointer disconnects and reconnectsRyan Dwyer
2018-09-30Turn funcs() into funcs(void)Arkadiusz Hiler
If they really do not take undefined number of arguments.
2018-09-28Add support for building swaylock without PAMDrew DeVault
This involves setuid'ing swaylock, which then forks and drops perms on the parent process. The child process remains root and listens on a pipe for requests to validate passwords against /etc/shadow.
2018-09-22swaybar, swaylock, & tree/container: Set cairo font options to render text ↵Geoff Greer
and lines with subpixel hinting (if available).
2018-07-17Fix swaylock argumentsBrian Ashworth
2018-07-16Switch to using getopt_long for config flagBrian Ashworth
2018-07-16Remove leftover parensBrian Ashworth
2018-07-16Remove int cast after changing to size_tBrian Ashworth
2018-07-16Change to size_t in swaylock's get_config_pathBrian Ashworth
2018-07-16Implement swaylock configuration file parsingBrian Ashworth
2018-07-10Change formatting of swaylock usage in the codeBrian Ashworth
2018-07-10Implement swaylock customization flagsBrian Ashworth
2018-07-09Update for swaywm/wlroots#1126emersion
2018-07-07swaylock: daemonize after lockingemersion
2018-07-07Detect opaque lockscreen when using a solid colorRyan Dwyer
2018-07-07Use infinite opaque region in swaylockRyan Dwyer
2018-07-07Use opaque region to determine if frame done should be sentRyan Dwyer
2018-07-02swaylock daemonize: fix leak of devnull fdDominique Martinet
2018-05-27swaylock: implement a proper render loopemersion
2018-05-23swaylock: remove unused fieldemersion
2018-05-23Merge branch 'master' into fix-swaylock-hotpluggingemersion
2018-05-20Swaylock: Use calloc instead of mallocRyan Dwyer
2018-05-20Swaylock: Log error if multiple images are defined for the same outputRyan Dwyer
2018-05-20Swaylock: Allow per-output imagesRyan Dwyer
2018-05-18Fix output hotpluggingemersion
2018-05-18Fix swaylock crashing when unplugging outputemersion
2018-04-12swaylock: Securely zero-out password.Geoff Greer
- Replace char* with static array. Any chars > 1024 will be discarded. - mlock() password buffer so it can't be written to swap. - Clear password buffer after auth succeeds or fails. This is basically the same treatment I gave the 0.15 branch in https://github.com/swaywm/sway/pull/1519
2018-04-05Error handling in swaylock daemonize()Drew DeVault
Fixes #1741
2018-04-04Address review feedback from @emersionDrew DeVault
2018-04-04Add hidpi support to swaylockDrew DeVault
2018-04-04Implement input-inhibit in sway, swaylockDrew DeVault
2018-04-04Actually let's not do that TODODrew DeVault
2018-04-04R E N D E R I N GDrew DeVault
2018-04-04Add password buffer, refactor rendering/surfacesDrew DeVault
2018-04-04Split seat code into its own fileDrew DeVault
2018-04-04Set up an XKB context for the keyboardDrew DeVault
2018-04-04Grab keyboard off of the seatDrew DeVault
2018-04-04Initial swaylock portDrew DeVault
2017-08-09Clean up fallthrough issuesDrew DeVault
2017-07-31Allow swaylock indicator size to be configurableCalvin Lee
2017-04-26Add -DVERSION flag for release version numbersSebastian Noack
2017-03-10UnGNUify the codebaseDrew DeVault
2017-02-21Documentation and style fixes for swaylockCalvin Lee
2017-02-21Feature for #1078: Configurable swaylock colorsCalvin Lee
Colors are configured through the command line so that swaylock conforms to the i3lock fork 'github.com/chrjguill/i3lock-color'. Differences from it are that one letter options '-r' and '-s' are not implimentend because '-s' is already used by '--scaling' in swaylock. This commit also fixed whitespace in 'include/swaylock/swaylock.h' and changed `parse_color` in 'common/util.h' so that it can accept colors that do not start with a hash. This was done to keep compatability with the i3lock fork.
2016-12-27fix #971Zandr Martin
2016-12-20Clear swaylock properly during re-renderDrew DeVault
Fixes #999