Also consider the AcquiringLock state as a locked screen
KSld goes to state AcquiringLock when starting the greeter process. During this state it expects the input to be grabbed. So from KWin perspective this means that the screen is locked and KWin should filter out input events.
This commit is contained in:
parent
8ea4f4dae7
commit
b5cbca3617
1 changed files with 2 additions and 1 deletions
|
@ -509,7 +509,8 @@ quint16 WaylandServer::createClientId(ClientConnection *c)
|
||||||
|
|
||||||
bool WaylandServer::isScreenLocked() const
|
bool WaylandServer::isScreenLocked() const
|
||||||
{
|
{
|
||||||
return ScreenLocker::KSldApp::self()->lockState() == ScreenLocker::KSldApp::Locked;
|
return ScreenLocker::KSldApp::self()->lockState() == ScreenLocker::KSldApp::Locked ||
|
||||||
|
ScreenLocker::KSldApp::self()->lockState() == ScreenLocker::KSldApp::AcquiringLock;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue