diff --git a/shell_client.cpp b/shell_client.cpp index c4322f1488..3c2daa192a 100644 --- a/shell_client.cpp +++ b/shell_client.cpp @@ -985,6 +985,9 @@ bool ShellClient::isInternal() const bool ShellClient::isLockScreen() const { + if (m_internalWindow) { + return m_internalWindow->property("org_kde_ksld_emergency").toBool(); + } return surface()->client() == waylandServer()->screenLockerClientConnection(); }