mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
Fix sort
This commit is contained in:
parent
23991b6543
commit
98f7a10a51
@ -141,6 +141,7 @@ auto WorkspaceManager::update() -> void {
|
|||||||
}
|
}
|
||||||
if (creation_delayed()) {
|
if (creation_delayed()) {
|
||||||
creation_delayed_ = false;
|
creation_delayed_ = false;
|
||||||
|
sort_workspaces();
|
||||||
}
|
}
|
||||||
AModule::update();
|
AModule::update();
|
||||||
}
|
}
|
||||||
@ -283,7 +284,7 @@ auto WorkspaceGroup::handle_done() -> void {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!workspace_manager_.all_outputs()) {
|
if (!workspace_manager_.all_outputs()) {
|
||||||
//sort_workspaces();
|
sort_workspaces();
|
||||||
} else {
|
} else {
|
||||||
workspace_manager_.sort_workspaces();
|
workspace_manager_.sort_workspaces();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user