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();
client *c;
if (head) {
for WIN if (c->win == cur) break;
if (!head) return;
if (cur == root) cur = head->win;
c = c->next;
if (!c) c = head;
for WIN if (c->win == cur) break;
if ((c = c->next ? c->next : head)) {
XSetInputFocus(dis, c->win, RevertToParent, CurrentTime);
XRaiseWindow(dis, c->win);
}