diff --git a/shell_client.cpp b/shell_client.cpp index 929ceed50e..4c1f352137 100644 --- a/shell_client.cpp +++ b/shell_client.cpp @@ -628,7 +628,7 @@ bool ShellClient::isInternal() const bool ShellClient::isLockScreen() const { - return m_shellSurface->client() == waylandServer()->greeterClientConnection(); + return m_shellSurface->client() == waylandServer()->screenLockerClientConnection(); } bool ShellClient::isInputMethod() const