From 6e70dd0ba28f90c1eaff3dbb6964179203cbcfee Mon Sep 17 00:00:00 2001 From: Bhushan Shah Date: Mon, 9 Nov 2015 14:15:04 +0530 Subject: [PATCH] [wayland] connect to greeterClientConnectionChanged instead of locked signal locked signal might be too late to identify the greeter and its windows. --- wayland_server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wayland_server.cpp b/wayland_server.cpp index 6cb222c30f..bf6ccf9844 100644 --- a/wayland_server.cpp +++ b/wayland_server.cpp @@ -215,7 +215,7 @@ void WaylandServer::initWorkspace() ScreenLocker::KSldApp::self()->setWaylandDisplay(m_display); ScreenLocker::KSldApp::self()->initialize(); - connect(ScreenLocker::KSldApp::self(), &ScreenLocker::KSldApp::locked, this, + connect(ScreenLocker::KSldApp::self(), &ScreenLocker::KSldApp::greeterClientConnectionChanged, this, [this] () { m_screenLockerClientConnection = ScreenLocker::KSldApp::self()->greeterClientConnection(); }