swaywm / swaylock

Screen locker for Wayland
MIT License
853 stars 201 forks source link

Swaylock unlocks immediately after locking when using `--grace` #378

Closed rmburg closed 1 month ago

rmburg commented 1 month ago

Running swaylock --grace 5 opens Swaylock, which then closes itself after a few milliseconds.

Without the --grace option set, it works as intended.

I could not find any input events that could cause this to happen:

My setup

- OS: Arch Linux - `swaylock --version`: `swaylock version v1.7.0.0-1-g496059a (" __DATE__ ", branch 'master')` - WM: Hyprland 0.43.0

emersion commented 1 month ago

--grace is not a swaylock option.

rmburg commented 1 month ago

Apologies, I forgot I was using a fork