hyprland/ipc: further cleanup + add Hyprland.focusedWorkspace

This commit is contained in:
outfoxxed 2025-03-27 00:25:21 -07:00
parent 67b2682604
commit 392f56c40e
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
5 changed files with 39 additions and 8 deletions

View file

@ -22,7 +22,7 @@ HyprlandWorkspace::HyprlandWorkspace(HyprlandIpc* ipc): QObject(ipc), ipc(ipc) {
});
this->bFocused.setBinding([this]() {
return this->bActive.value() && this->bMonitor->bindableFocused().value();
return this->ipc->bindableFocusedWorkspace().value() == this;
});
Qt::endPropertyUpdateGroup();