summaryrefslogtreecommitdiffhomepage
path: root/patch/riodraw.c
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2021-02-11 12:29:48 +0100
committerbakkeby <[email protected]>2021-02-11 12:29:48 +0100
commit9fcfa8d6ce45d7c7530f447c200ab8977c997e78 (patch)
treec0d004e877d093cbb8988b5403f99f10b2dc2615 /patch/riodraw.c
parent1d092253e3b9ee5e310957d83edb2effad10cdb8 (diff)
downloaddwm-flexipatch-9fcfa8d6ce45d7c7530f447c200ab8977c997e78.tar.gz
dwm-flexipatch-9fcfa8d6ce45d7c7530f447c200ab8977c997e78.zip
Adding focusdir patch
Diffstat (limited to 'patch/riodraw.c')
-rw-r--r--patch/riodraw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/patch/riodraw.c b/patch/riodraw.c
index ace3acc..66a7add 100644
--- a/patch/riodraw.c
+++ b/patch/riodraw.c
@@ -54,7 +54,7 @@ riodraw(const Arg *arg)
c = selmon->sel;
if (width > 50 && height > 50 && x > -40 && y > -40 && width < selmon->mw + 40 && height < selmon->mh + 40 &&
- (abs(c->w - width) > 20 || abs(c->h - height) > 20 || abs(c->x - x) > 20 || abs(c->y - y) > 20)) {
+ (abs(c->w - width) > 20 || abs(c->h - height) > 20 || abs(c->x - x) > 20 || abs(c->y - y) > 20)) {
if ((m = recttomon(x, y, width, height)) != selmon) {
sendmon(c, m);
unfocus(selmon->sel, 0, NULL);