mirror of
https://github.com/dylanaraps/sowm.git
synced 2026-12-04 22:08:30 +00:00
docs: update
This commit is contained in:
1 parent
1d33b762eb
commit
cf298eb128
1 file changed
+2
-5
@@ -213,15 +213,12 @@ void win_fs(Window w) {
|
|||||||
|
|
||||||
if (!c) return;
|
if (!c) return;
|
||||||
|
|
||||||
if (!c->f) {
|
if ((c->f = c->f == 0 ? 1 : 0)) {
|
||||||
XGetWindowAttributes(dis, w, &c->a);
|
XGetWindowAttributes(dis, w, &c->a);
|
||||||
XMoveResizeWindow(dis, w, 0, 0, sw, sh);
|
XMoveResizeWindow(dis, w, 0, 0, sw, sh);
|
||||||
c->f = 1;
|
|
||||||
|
|
||||||
} else {
|
} else
|
||||||
XMoveResizeWindow(dis, w, c->a.x, c->a.y, c->a.width, c->a.height);
|
XMoveResizeWindow(dis, w, c->a.x, c->a.y, c->a.width, c->a.height);
|
||||||
c->f = 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void win_to_ws(const Arg arg) {
|
void win_to_ws(const Arg arg) {
|
||||||
|
|||||||
Reference in new issue
Block a user