Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
patches: rebase rounded corners
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanaraps committed Oct 28, 2019
1 parent 421f79c commit bc9a9b1
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions patches/sowm-rounded-corners.patch
Original file line number Diff line number Diff line change
Expand Up @@ -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 @@
Expand Down Expand Up @@ -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();

Expand Down

0 comments on commit bc9a9b1

Please sign in to comment.