Created attachment 8211
Initial version of the patch been incomplete, since its been missing an if check and app were ending up locking screen twice causing weird flickering.
Patch is missing 2 things:
1. check if lock_enabled == true before screen locking
2. on wake up (Logind requested session unlock) request screensaver to pop a lock screen. Right now laptop wakes up with a screensaver
running and you need to press any key to see an actual lock screen
If you will give me couple hints how to do that, I might come up with a new version myself.
Sean Davis referenced this bugreport in commit 607f15488d960b78f4e6ae5b35aee28a9e2bf63a
Update NEWS with resolved bug (bug #15001)
Included with https://git.xfce.org/apps/xfce4-screensaver/commit/?id=9e53bb2866f186b8f0c31198f4e8337040b2ad7c