[Bug 297068] When shutting down via Lock Screen, the sleep countdown runs first

Thomas Lübking thomas.luebking at gmail.com
Tue Apr 24 20:50:01 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=297068

--- Comment #6 from Thomas Lübking <thomas.luebking at gmail.com> ---
(In reply to comment #5)

> should stay there until the device is turned off but ksmserver closes the
> greeter right before closing kwin and itself afterwards, so for a short time
> there will be no unlock screen like Thomes described.

Did you try to grab the X server (not simply the input)?
This should stop any visual updates.

On a more "naive" approach, ksmserver could dump the screen into a pixmap, open
an override redirect window (unmanaged window), in doubt raise it (i think
you'll have to use X11 directly, iirc. Qt only raises by windowmanager requests
- i however also guess for your case it should be sufficient that it will be
initially put on top of the stack anyway) and paint the dump onto that curtain
(while closing the stuff below)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Active mailing list