mirror of
https://github.com/dylanaraps/sowm.git
synced 2025-05-19 01:20:23 -07:00
docs: update
This commit is contained in:
parent
ee2d881f25
commit
ecd096fb04
9
sowm.c
9
sowm.c
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user