mirror of
https://codeberg.org/dwl/dwl.git
synced 2026-04-06 07:15:31 -04:00
Corrected the order when moving 'left' items to the end, so that they are not switched around each time
This commit is contained in:
parent
527d373494
commit
7c4d521f99
1 changed files with 2 additions and 2 deletions
|
|
@ -82,8 +82,8 @@ void varcol(Monitor *m)
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Reattach th eleft clients to the main list */
|
/* Reattach the left clients to the main list */
|
||||||
wl_list_for_each_safe(c, tmp, &left_clients, link) {
|
wl_list_for_each_reverse_safe(c, tmp, &left_clients, link) {
|
||||||
wl_list_remove(&c->link);
|
wl_list_remove(&c->link);
|
||||||
wl_list_insert(clients.prev, &c->link);
|
wl_list_insert(clients.prev, &c->link);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue