commit 41ad0ff832f97f9b77b482c0f1dba3ed953323eb
parent abb9445bfbecc8a1e4b268338202f9221e96a116
Author: Dylan Araps <dylan.araps@gmail.com>
Date: Wed, 16 Oct 2019 08:32:46 +0300
patches: rebase
Diffstat:
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/patches/sowm-rounded-corners.patch b/patches/sowm-rounded-corners.patch
@@ -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