From bc9a9b14a58b1e1ebdd7d7209d46b810cde38ebe Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 28 Oct 2019 21:52:28 +0000 Subject: [PATCH] patches: rebase rounded corners --- patches/sowm-rounded-corners.patch | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/patches/sowm-rounded-corners.patch b/patches/sowm-rounded-corners.patch index 678c44a..2322ea2 100644 --- a/patches/sowm-rounded-corners.patch +++ b/patches/sowm-rounded-corners.patch @@ -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();