dwm-speedie/libs/attachx.c
2023-09-13 15:24:02 +02:00

14 lines
210 B
C

void
attachx(Client *c)
{
if (!(c->mon->sel == NULL || c->mon->sel == c || c->mon->sel->isfloating)) {
c->next = c->mon->sel->next;
c->mon->sel->next = c;
return;
}
attach(c); // master (default)
}