Skip to content
Snippets Groups Projects
Commit 5c47f16d authored by Lamarque Souza's avatar Lamarque Souza
Browse files

Fix SimulateUserActivity not working for a second when resuming from

ram/disk.

The problem is in krunner/lock/lockprocess.cc, LockProcess::lock(...),
lines:

mBusy = true;
...
QTimer::singleShot(1000, this, SLOT(slotDeadTimePassed()));

The "dead-time" makes LockProcess ignores any SimulateUserActivity
requests during that one second-time.
I have added "mInitialLock = true" in LockProcess::signalPipeSignal() to
simulate the "--showunlock" parameter after the one second-time.

BUG: 269737
FIXED-IN: 4.6.3
parent 28b79d8d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment