mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2025-09-08 12:14:50 +00:00
Fix attachtop floating window edge case
This commit is contained in:
parent
938cd817a4
commit
1d720339c9
@ -18,7 +18,7 @@ index bf763df..c0a3d74 100644
|
|||||||
- wl_list_insert(&clients, &c->link);
|
- wl_list_insert(&clients, &c->link);
|
||||||
+ i = 0;
|
+ i = 0;
|
||||||
+ wl_list_for_each(w, &clients, link) {
|
+ wl_list_for_each(w, &clients, link) {
|
||||||
+ if (!VISIBLEON(w, selmon) || c->isfloating)
|
+ if (!VISIBLEON(w, selmon) || w->isfloating)
|
||||||
+ continue;
|
+ continue;
|
||||||
+ p = w;
|
+ p = w;
|
||||||
+ if (++i >= selmon->nmaster)
|
+ if (++i >= selmon->nmaster)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user