> the problem: after a resume from suspend for a short period of time the
> content of the desktop appears on the screen before the lock screen is
> activated (System Settings -> Brightness & Lock -> Require password ...
> is activated).
>
> This is not only visually annoying but may also leak information.
>
> On my system the following trivial patch solves the problem.
> (Does not test whether screen should be lock at all, though)