forked from quickshell/quickshell
hyprland/ipc: reduce impact of racing workspace queries
This commit is contained in:
parent
9506c1bb62
commit
d3b1a65911
3 changed files with 42 additions and 21 deletions
|
|
@ -117,6 +117,8 @@ void HyprlandMonitor::setActiveWorkspace(HyprlandWorkspace* workspace) {
|
|||
this->mActiveWorkspace = workspace;
|
||||
|
||||
if (workspace != nullptr) {
|
||||
workspace->setMonitor(this);
|
||||
|
||||
QObject::connect(
|
||||
workspace,
|
||||
&QObject::destroyed,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue