docs: update

This commit is contained in:
Dylan Araps 2019-10-12 23:38:29 +03:00
parent ee2d881f25
commit ecd096fb04

9
sowm.c
View File

@ -267,13 +267,12 @@ void win_next() {
Window cur = win_current(); Window cur = win_current();
client *c; client *c;
if (head) { if (!head) return;
for WIN if (c->win == cur) break; if (cur == root) cur = head->win;
c = c->next; for WIN if (c->win == cur) break;
if (!c) c = head;
if ((c = c->next ? c->next : head)) {
XSetInputFocus(dis, c->win, RevertToParent, CurrentTime); XSetInputFocus(dis, c->win, RevertToParent, CurrentTime);
XRaiseWindow(dis, c->win); XRaiseWindow(dis, c->win);
} }