rounded-corners: rebase

This commit is contained in:
Dylan Araps 2019-10-15 14:56:19 +03:00
parent 8ccbddc062
commit d975b6f755
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 2 additions and 2 deletions

View File

@ -50,10 +50,10 @@ index b9e8867..4c0b3fa 100644
for WIN if (c->w == mouse.subwindow) c->f = 0;
}
}
@@ -364,9 +368,58 @@ void win_fs(Window w) {
@@ -367,6 +367,8 @@ void win_fs() {
} else
XMoveResizeWindow(d, w, c->a.x, c->a.y, c->a.width, c->a.height);
XMoveResizeWindow(d, cur, c->a.x, c->a.y, c->a.width, c->a.height);
+
+ win_round_corners(w, c->f ? 0 : ROUND_CORNERS);
}