repro:
- lock screen
$ swaylock -i ~/Pictures/some_image.png -F -k -l
- close the lid (no other monitor attached, so system is suspended)
# /etc/systemd/
HandleLidSwitch=suspend
HandleLidSwitchExternalPower=suspend
HandleLidSwitchDocked=ignore
- open the lid, the desktop is shortly revealed before the lockscreen image covers it. It's very brief but still perceivable.
system:
archlinux (up to date)
Linux HOST 6.17.2-arch1-1 #1 SMP PREEMPT_DYNAMIC 12 Oct 2025 x86_64 GNU/Linux
# packages installed via pacman
sway version 1.11
wayland 1.24.0
swaylock version v1.8.3 (" __DATE__ ", branch 'makepkg')