fixed destroying menu on focus loss

This commit is contained in:
Zacharias-Brohn
2025-10-28 19:20:27 +01:00
parent 1b12ff6e7f
commit 7b5ee719c4
2 changed files with 19 additions and 10 deletions
+10 -10
View File
@@ -20,17 +20,17 @@ PopupWindow {
menu: root.menu
}
HyprlandFocusGrab {
id: grab
windows: [ root ]
onCleared: {
root.visible = false;
}
}
// HyprlandFocusGrab {
// id: grab
// windows: [ root ]
// onCleared: {
// root.visible = false;
// }
// }
onVisibleChanged: {
grab.active = root.visible;
}
// onVisibleChanged: {
// grab.active = root.visible;
// }
Rectangle {
id: menuRect
anchors.fill: parent