summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
Diffstat (limited to 'services')
-rw-r--r--services/Hyprland.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/Hyprland.qml b/services/Hyprland.qml
index a366e54..a1f5cbb 100644
--- a/services/Hyprland.qml
+++ b/services/Hyprland.qml
@@ -13,7 +13,7 @@ Singleton {
readonly property var monitors: Hyprland.monitors
property Client activeClient: null
readonly property HyprlandWorkspace activeWorkspace: focusedMonitor?.activeWorkspace ?? null
- readonly property HyprlandMonitor focusedMonitor: Hyprland.monitors.values.find(m => m.lastIpcObject.focused) ?? null
+ readonly property HyprlandMonitor focusedMonitor: Hyprland.focusedMonitor
readonly property int activeWsId: activeWorkspace?.id ?? 1
function reload() {