mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 14:05:45 +02:00
Fix infinite loop in attachbelow patch
This commit is contained in:
parent
a713e73a37
commit
45247a14bc
@ -24,7 +24,7 @@ attachx(Client *c)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#elif ATTACHBELOW_PATCH
|
#elif ATTACHBELOW_PATCH
|
||||||
if (!(c->mon->sel == NULL || c->mon->sel->isfloating)) {
|
if (!(c->mon->sel == NULL || c->mon->sel == c || c->mon->sel->isfloating)) {
|
||||||
c->next = c->mon->sel->next;
|
c->next = c->mon->sel->next;
|
||||||
c->mon->sel->next = c;
|
c->mon->sel->next = c;
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user