docs: update

This commit is contained in:
Dylan Araps 2019-10-11 22:29:36 +03:00
parent 473c4dec54
commit 8351d8c0dd
1 changed files with 5 additions and 3 deletions

8
sowm.c
View File

@ -97,20 +97,22 @@ void win_add(Window w) {
exit(1);
if (head == NULL) {
c->next = NULL;
c->prev = NULL;
c->win = w;
head = c;
}
else {
for (t=head;t->next;t=t->next);
c->next = NULL;
c->prev = t;
c->win = w;
t->next = c;
}
c->next = NULL;
c->win = w;
cur = c;
cur = c;
}
void ws_go(const Arg arg) {