patches: rebase rounded corners

This commit is contained in:
Dylan Araps 2019-10-28 21:52:28 +00:00
parent 421f79c47b
commit bc9a9b14a5
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 11 additions and 2 deletions

View File

@ -22,7 +22,7 @@ index aaaf38d..b25dc08 100644
const char* menu[] = {"dmenu_run", 0};
const char* term[] = {"st", 0};
diff --git a/sowm.c b/sowm.c
index d1b4c2a..f7b620f 100644
index d1b4c2a..56bf509 100644
--- a/sowm.c
+++ b/sowm.c
@@ -4,6 +4,7 @@
@ -93,7 +93,16 @@ index d1b4c2a..f7b620f 100644
}
void win_to_ws(const Arg arg) {
@@ -253,6 +293,7 @@ void map_request(XEvent *e) {
@@ -241,6 +281,8 @@ void configure_request(XEvent *e) {
.sibling = ev->above,
.stack_mode = ev->detail
});
+
+ win_round_corners(ev->window, ROUND_CORNERS);
}
void map_request(XEvent *e) {
@@ -253,6 +295,7 @@ void map_request(XEvent *e) {
if (wx + wy == 0) win_center();