summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-02-02build: stop using sh to generate man pagesSimon Ser
2022-02-02build: lookup wayland-scanner dep, require 1.15Simon Ser
2022-02-02build: stop aligning assignmentsSimon Ser
More consistent with our code style.
2022-02-02build: explicitly set check arg for run_commandSimon Ser
References: https://github.com/mesonbuild/meson/issues/9300
2022-02-02Add support for ext-session-lock-v1Simon Ser
This is a new protocol to lock the session [1]. It should be more reliable than layer-shell + input-inhibitor. [1]: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/131
2022-02-02build: add Meson subproject fallback for wayland-protocolsSimon Ser
This allows building swaylock with a local wayland-protocols.
2022-02-02build: bump Meson min version to 0.58Simon Ser
The next commit will need that version. Adjust the build to not trigger deprecation warnings.
2021-11-19Add editorconfigJason Nader
2021-07-29Check for poll errorsSimon Ser
2021-07-11Call fclose vice free, fixes #198grumpey
2021-07-05Prevent attaching and committing the surface twiceMichael Swiger
2021-07-05Fix indicator buffer not resizing after display powers offMichael Swiger
2021-07-05Ensure buffer size is multiple of buffer scaleSimon Plakolb
An odd value of fe.height lead to the indicator disappearing. This was due to the buffer size no longer being a multiple of the buffer scale. This commit fixes the issue by checking both height and width to be a multiple of scale. This is done early to avoid excessive re-calls of create_buffer if the buffer_height != new_height in render.c line 314 (now 318).
2021-06-22Draw ring and inner fill separatelyloserMcloser
2021-04-12Fix some typosElyes HAOUAS
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
2021-02-17Use wl_surface.damage_bufferSimon Ser
We incorrectly used the buffer size instead of the surface size. Let's not bother and just damage the maximum region.
2021-02-17Initialize indicator size to zeroSimon Ser
Initializing to 1 is incorrect when the surface scale is > 1.
2021-02-17pool-buffer: handle zero-sized buffersSimon Ser
mako does something similar.
2020-10-15Fix a potential use-after-freeMartin Dørum
2020-07-13refresh pam credentials after successful authenticationYaroslav
2020-06-19Implement key repeatMartin Dørum
2020-03-29Use xkb_keymap_new_from_buffer instead of xkb_keymap_new_from_stringNils
xkb_keymap_new_from_string just calls xkb_keymap_new_from_buffer with size as `strlen(string)`. https://github.com/xkbcommon/libxkbcommon/blob/0f1cae0cc482575c71d29d6241115886ebf25dec/src/keymap.c#L164 According to the [spec](https://gitlab.freedesktop.org/wayland/wayland/-/blob/master/protocol/wayland.xml#L2182), MAP_PRIVATE should be used.
2020-03-06Added --indicator-x/y-positionJakub Profota
2020-03-06Added --indicator-x\y-positionJakub Profota
2020-03-06Added --indicator-x/y-positionJakub Profota
2020-03-06Added --indicator-x/y-positionJakub Profota
2020-01-23Set version to 1.6Michael Vetter
It seems this gets forgotten before doing a release. Like last time: https://github.com/swaywm/swaylock/pull/84 So this time I will try differently and set it to the (probably) next version number :-)
2020-01-22fish-completion: use the correct fallback directory1.5Eli Schwartz
fish completions should never be installed to share/fish/completions/ as that directory is reserved exclusively for completions shipped as part of the fish source code. Use the same vendor_completions.d/ directory which the default fish configuration uses.
2020-01-22completion: use pkg-config to get install location for bash/fishEli Schwartz
Both shells provide pkg-config files which declare their designated completionsdir. Use this as the primary source of truth.
2020-01-06Remove FreeBSD-specific PAM configurationNamkhai B
Something in FreeBSD's PAM modules changed, and now using the "passwd" configuration file fails to unlock
2019-11-27Added option to adjust ring position via CLI arguments and the config fileMatt Della
2019-09-12Fix, clean up and sync docs and completionsOlegs Jeremejevs
2019-08-15Submit password by pressing Ctrl+mHardDie
As it work in emacs style console
2019-08-04Adds option to show indicator even if idleAlexander Martin
2019-07-20properly fix indicator positionMartin Dørum
2019-06-28seed randMartin Dørum
2019-06-28fix indicator positionMartin Dørum
2019-06-22Damage state when the keyboard layout changesAbdelhakim Qbaich
2019-06-22Resizable buffer size for the subsurfaceAbdelhakim Qbaich
2019-06-22Minor editsAbdelhakim Qbaich
2019-05-23Adapt version number to actual releaseMichael Vetter
2019-05-20pool-buffer: add L suffix to POSIX version for consistencyJan Beich
2019-05-20loop: bump required POSIX version for poll()Jan Beich
2019-05-05Add fixed font-size option for indicatorPeter Kasza
This commit adds a new command line option called --font-size to specify a fixed font size in the indicator. The default value for font-size is 0, which means that the text will autoscale. Any other positive value will result in a fixed text size.
2019-04-29Submit password by pressing Ctrl+m (close #75)1.4Gabriel Sanches
2019-04-22Merge pull request #73 from jeremiah-miller/add-hide-keyboard-layoutDrew DeVault
Add hide keyboard layout option
2019-04-22Described hide-keyboard-layout option in swaylock.1.scdbbgun7
2019-04-22Added hide keyboard layout optionbbgun7
2019-04-03Fix lock indicator position on hidpi screens.Geoff Greer
2019-04-01Allow spaces in image file pathBrian Ashworth
This allows one or more spaces to be in the image file path