forked from quickshell/quickshell
hyprland/ipc: further cleanup + add Hyprland.focusedWorkspace
This commit is contained in:
parent
67b2682604
commit
392f56c40e
5 changed files with 39 additions and 8 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue