[wayland] connect to greeterClientConnectionChanged instead of locked signal
locked signal might be too late to identify the greeter and its windows.
This commit is contained in:
parent
56860e63f5
commit
6e70dd0ba2
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ void WaylandServer::initWorkspace()
|
||||||
ScreenLocker::KSldApp::self()->setWaylandDisplay(m_display);
|
ScreenLocker::KSldApp::self()->setWaylandDisplay(m_display);
|
||||||
ScreenLocker::KSldApp::self()->initialize();
|
ScreenLocker::KSldApp::self()->initialize();
|
||||||
|
|
||||||
connect(ScreenLocker::KSldApp::self(), &ScreenLocker::KSldApp::locked, this,
|
connect(ScreenLocker::KSldApp::self(), &ScreenLocker::KSldApp::greeterClientConnectionChanged, this,
|
||||||
[this] () {
|
[this] () {
|
||||||
m_screenLockerClientConnection = ScreenLocker::KSldApp::self()->greeterClientConnection();
|
m_screenLockerClientConnection = ScreenLocker::KSldApp::self()->greeterClientConnection();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue