aboutsummaryrefslogtreecommitdiff
path: root/swaylock/main.c
AgeCommit message (Collapse)Author
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
2016-10-05Explicitly set cairo font to avoid wonky fallbackVasilij Schneidermann
See also https://github.com/i3/i3lock/pull/89
2016-09-05Add client support for HiDPIDrew DeVault
This adds HiDPI support to swaybar, swaybg, and swaylock.
2016-09-01Reorganize includesDrew DeVault
2016-07-15Fix warning from unused daemon return valueDrew DeVault
2016-07-13swaylock: Add -f option to detach from the controlling terminal, fixes #725David Eklov
2016-06-26Bug fix: Add missing header file, unistd.hDavid Eklov
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
see issue #647
2016-06-04add documentation for client commandsZandr Martin
2016-05-26add --no-unlock-indicator to swaylockZandr Martin
2016-05-26clear swaylock password buffer with escZandr Martin
for i3lock compatibility
2016-05-26clear password buffer with ctrl-u in swaylockZandr Martin
also prevent screen redraws on modifier key presses
2016-04-25swaylock: fix double freeKevin Hamacher
2016-04-10swaylock: Handle possible fail on password reallocMikkel Oscar Lyderik
2016-04-03Improve swaylock event flushingKevin Hamacher
2016-03-31swaylock: improve graphical feedbackKevin Hamacher
2016-03-27Squash warning about uninitialized variableDrew DeVault
2016-03-25Add graphical feedback to swaylock (#526)Kevin Hamacher
2016-03-24Replace with in swaylockNuew
2016-03-24Change 'display' to 'output' in swaylock error messages where necessaryNuew
2016-03-24Change 'display' to 'output' in swaylock docs where necessaryNuew
2016-03-24Add choice of display to --image.Nuew
Additionally - Made background colors display when an image is enabled if a --color is specified. - Link CJson to swaylock. - Add the --socket option to swaylock.
2016-03-24swaylock: Interpret XKB_KEY_BackSpace as a deletion instead of a normal key.Julius Michaelis
2016-03-23swaylock: Fix crash when unable to connect to wlMikkel Oscar Lyderik
Prevent swaylock from crashing when it can't connect to wayland for whatever reason. i.e. XDG_RUNTIME_DIR not set. Fix #534
2016-03-21swaylock: Grow the password bufferGökberk Yaltıraklı
2016-02-26Correctly exit sway on errors.Mikkel Oscar Lyderik
Calling `exit` in sway_terminate prevents sway from correctly shutting down (freeing data, cleanly terminating the ipc server, etc.). A better way is to exit straight away if the failure occurs before `wlc_run` and use sway_abort as usual if it occur when wlc is running.
2016-01-28swaylock: Allow for transparent color valuescrondog
There is only a slight issue. When using a transparent color the views are arranged to make room for swaylock which we can now see. I tried removing the arrange call but that just made it worse by putting in an opaque view on the workspace and not making the lockoverlay color. Ill raise an issue if this is not easily solved
2016-01-26Remove pointer from swaylock surfaceDrew DeVault
2016-01-25extract cairo_set_source_u32()Christoph Gysin
2016-01-25swaylock: support --colorChristoph Gysin
2016-01-25swaylock: extract render_imageChristoph Gysin