mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-16 14:33:36 -04:00
opt: add ov workspace before remove all tag workspace
This commit is contained in:
parent
2a9c38df1f
commit
8a3d065cc1
1 changed files with 1 additions and 1 deletions
|
|
@ -188,10 +188,10 @@ void refresh_monitors_workspaces_status(Monitor *m) {
|
||||||
int32_t i;
|
int32_t i;
|
||||||
|
|
||||||
if (m->isoverview) {
|
if (m->isoverview) {
|
||||||
|
add_workspace_by_tag(0, m);
|
||||||
for (i = 1; i <= LENGTH(tags); i++) {
|
for (i = 1; i <= LENGTH(tags); i++) {
|
||||||
remove_workspace_by_tag(i, m);
|
remove_workspace_by_tag(i, m);
|
||||||
}
|
}
|
||||||
add_workspace_by_tag(0, m);
|
|
||||||
} else {
|
} else {
|
||||||
remove_workspace_by_tag(0, m);
|
remove_workspace_by_tag(0, m);
|
||||||
for (i = 1; i <= LENGTH(tags); i++) {
|
for (i = 1; i <= LENGTH(tags); i++) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue