Merge pull request #1174 from eric-handley/fix-lockscreen-after-suspend

Fix: password input not possible after leaving suspend w/ dual GPUs
This commit is contained in:
Lysec
2025-12-28 06:58:58 +01:00
committed by GitHub
+12
View File
@@ -377,6 +377,18 @@ Loader {
Item {
anchors.fill: parent
// Mouse area to trigger focus on cursor movement (workaround for Hyprland focus issues)
MouseArea {
anchors.fill: parent
hoverEnabled: true
acceptedButtons: Qt.NoButton
onPositionChanged: {
if (passwordInput) {
passwordInput.forceActiveFocus();
}
}
}
// Time, Date, and User Profile Container
Rectangle {
width: Math.max(500, contentRow.implicitWidth + 32)