aboutsummaryrefslogtreecommitdiff
path: root/swaylock/main.c
AgeCommit message (Collapse)AuthorLines
2018-09-22swaybar, swaylock, & tree/container: Set cairo font options to render text ↵Geoff Greer-2/+6
and lines with subpixel hinting (if available).
2018-07-17Fix swaylock argumentsBrian Ashworth-64/+123
2018-07-16Switch to using getopt_long for config flagBrian Ashworth-7/+10
2018-07-16Remove leftover parensBrian Ashworth-1/+1
2018-07-16Remove int cast after changing to size_tBrian Ashworth-1/+1
2018-07-16Change to size_t in swaylock's get_config_pathBrian Ashworth-1/+1
2018-07-16Implement swaylock configuration file parsingBrian Ashworth-57/+184
2018-07-10Change formatting of swaylock usage in the codeBrian Ashworth-57/+69
2018-07-10Implement swaylock customization flagsBrian Ashworth-20/+246
2018-07-09Update for swaywm/wlroots#1126emersion-10/+10
2018-07-07swaylock: daemonize after lockingemersion-2/+8
2018-07-07Detect opaque lockscreen when using a solid colorRyan Dwyer-3/+6
2018-07-07Use infinite opaque region in swaylockRyan Dwyer-14/+14
2018-07-07Use opaque region to determine if frame done should be sentRyan Dwyer-0/+15
2018-07-02swaylock daemonize: fix leak of devnull fdDominique Martinet-0/+1
2018-05-27swaylock: implement a proper render loopemersion-6/+50
2018-05-23swaylock: remove unused fieldemersion-1/+0
2018-05-23Merge branch 'master' into fix-swaylock-hotpluggingemersion-19/+139
2018-05-20Swaylock: Use calloc instead of mallocRyan Dwyer-1/+1
2018-05-20Swaylock: Log error if multiple images are defined for the same outputRyan Dwyer-0/+17
2018-05-20Swaylock: Allow per-output imagesRyan Dwyer-20/+118
2018-05-18Fix output hotpluggingemersion-31/+42
2018-05-18Fix swaylock crashing when unplugging outputemersion-5/+25
2018-04-12swaylock: Securely zero-out password.Geoff Greer-0/+13
- 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-1/+23
Fixes #1741
2018-04-04Address review feedback from @emersionDrew DeVault-3/+4
2018-04-04Add hidpi support to swaylockDrew DeVault-2/+33
2018-04-04Implement input-inhibit in sway, swaylockDrew DeVault-0/+10
2018-04-04Actually let's not do that TODODrew DeVault-8/+0
2018-04-04R E N D E R I N GDrew DeVault-3/+11
2018-04-04Add password buffer, refactor rendering/surfacesDrew DeVault-48/+31
2018-04-04Split seat code into its own fileDrew DeVault-243/+3
2018-04-04Set up an XKB context for the keyboardDrew DeVault-5/+99
2018-04-04Grab keyboard off of the seatDrew DeVault-3/+48
2018-04-04Initial swaylock portDrew DeVault-705/+247
2017-08-09Clean up fallthrough issuesDrew DeVault-57/+51
2017-07-31Allow swaylock indicator size to be configurableCalvin Lee-10/+17
2017-04-26Add -DVERSION flag for release version numbersSebastian Noack-5/+1
2017-03-10UnGNUify the codebaseDrew DeVault-2/+7
2017-02-21Documentation and style fixes for swaylockCalvin Lee-82/+55
2017-02-21Feature for #1078: Configurable swaylock colorsCalvin Lee-37/+174
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-2/+2
2016-12-20Clear swaylock properly during re-renderDrew DeVault-0/+5
Fixes #999
2016-10-05Explicitly set cairo font to avoid wonky fallbackVasilij Schneidermann-0/+1
See also https://github.com/i3/i3lock/pull/89
2016-09-05Add client support for HiDPIDrew DeVault-24/+29
This adds HiDPI support to swaybar, swaybg, and swaylock.
2016-09-01Reorganize includesDrew DeVault-2/+1
2016-07-15Fix warning from unused daemon return valueDrew DeVault-1/+4
2016-07-13swaylock: Add -f option to detach from the controlling terminal, fixes #725David Eklov-1/+7
2016-06-26Bug fix: Add missing header file, unistd.hDavid Eklov-0/+1
Without unistd.h the following functions getuid, alarm and close are implicitly declared causing compilation to fail due to -Werror=implicit-function-declaration
2016-06-04make numpad enter key work in swaylockZandr Martin-2/+3
see issue #647