xfce4-screensaver on laptop: lid action with suspend/resume shows desktop content instead of lock-screen window
## Submitted by Maurizio Galli (MauG) `@Mau-G`
Assigned to **Sean Davis `@bluesabre`**
**[Link to original bug (#14782)](https://bugzilla.xfce.org/show_bug.cgi?id=14782)**
## Description
Created attachment 8052
Relevant systemd logs
Hello I packaged xfce4-screensaver for openSUSE and I'm maintaining it in the following development repository: https://build.opensuse.org/package/show/X11:xfce/xfce4-screensaver
Lock-screen does not play well with Laptop Lid actions + suspend/resume:
Steps to reproduce:
1. select "Suspend" in Xfce Power Manager > General > Laptop Lid
2. select "Lock screen when screensaver is active" in Screen Saver Preferences
3. close lid and wait for system to suspend.
4. open lid and resume system
Result:
Lock screen appears for a fraction of a second and then desktop content appears without the need of entering user's login password.
However the desktop is locked because I need to blindly type my login password before I can do anything further.
What works:
On the other end when calling suspend through the menu and then resume, the lock-screen works as expected.
I attached systemd logs for reference.
**Attachment 8052**, "Relevant systemd logs":
[file_14782.txt](/uploads/4cdc7e2f119d3032d650aa3038977040/file_14782.txt)
Version: 0.1.0
issue