From b7da25a6a015a5e4bd9a4737bafcb8d11cc76a26 Mon Sep 17 00:00:00 2001 From: ly-sec Date: Mon, 21 Jul 2025 22:51:42 +0200 Subject: [PATCH] Possible fix for screen lockup after sleep (lock) --- shell.qml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/shell.qml b/shell.qml index 07d6584..a78bae5 100644 --- a/shell.qml +++ b/shell.qml @@ -16,6 +16,7 @@ Scope { property alias appLauncherPanel: appLauncherPanel property var notificationHistoryWin: notificationHistoryWin + property bool pendingReload: false function updateVolume(vol) { volume = vol; @@ -41,6 +42,12 @@ Scope { LockScreen { id: lockScreen + onLockedChanged: { + if (!locked && root.pendingReload) { + reloadTimer.restart(); + root.pendingReload = false; + } + } } NotificationServer { @@ -105,7 +112,11 @@ Scope { Connections { target: Quickshell function onScreensChanged() { - reloadTimer.restart(); + if (lockScreen.locked) { + pendingReload = true; + } else { + reloadTimer.restart(); + } } } }