Skip to content

swaylock shortly reveals desktop when openling lid #435

@shrik3

Description

@shrik3

repro:

  1. lock screen
$ swaylock -i ~/Pictures/some_image.png -F -k -l
  1. close the lid (no other monitor attached, so system is suspended)
# /etc/systemd/
HandleLidSwitch=suspend
HandleLidSwitchExternalPower=suspend
HandleLidSwitchDocked=ignore
  1. 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')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions