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

Commit

Permalink
patches: rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanaraps committed Oct 16, 2019
1 parent abb9445 commit 41ad0ff
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions patches/sowm-rounded-corners.patch
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,16 @@ index b9e8867..4c0b3fa 100644
static void win_to_ws(const Arg arg);
static void ws_go(const Arg arg);
static void ws_save(int i);
@@ -183,6 +185,8 @@ void notify_motion(XEvent *e) {
attr.width + (mouse.button==3 ? xd : 0),
attr.height + (mouse.button==3 ? yd : 0));

+ win_round_corners(mouse.subwindow, ROUND_CORNERS);
@@ -179,6 +179,9 @@ void notify_motion(XEvent *e) {
attr.y + (mouse.button == 1 ? yd : 0),
attr.width + (mouse.button == 3 ? xd : 0),
attr.height + (mouse.button == 3 ? yd : 0));
+
for WIN if (c->w == mouse.subwindow) c->f = 0;
}
+ if (mouse.button == 3)
+ win_round_corners(mouse.subwindow, ROUND_CORNERS);
}

/*
@@ -367,9 +367,58 @@ void win_fs() {

} else
Expand Down

0 comments on commit 41ad0ff

Please sign in to comment.