docs: update
This commit is contained in:
parent
1d249a96ef
commit
a31091472a
1
sowm.c
1
sowm.c
|
@ -128,7 +128,6 @@ void win_center() {
|
||||||
if (!cur) return;
|
if (!cur) return;
|
||||||
|
|
||||||
win_size(cur->w, &(int){0}, &(int){0}, &ww, &wh);
|
win_size(cur->w, &(int){0}, &(int){0}, &ww, &wh);
|
||||||
|
|
||||||
XMoveWindow(d, cur->w, (sw - ww) / 2, (sh - wh) / 2);
|
XMoveWindow(d, cur->w, (sw - ww) / 2, (sh - wh) / 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue