mirror of
https://github.com/dylanaraps/sowm.git
synced 2026-10-01 05:25:23 +07:00
docs: update
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user