summaryrefslogtreecommitdiffstats
path: root/dwl.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dwl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dwl.c b/dwl.c
index 48e421c..f83cb83 100644
--- a/dwl.c
+++ b/dwl.c
@@ -1979,6 +1979,7 @@ focusmon(const Arg *arg)
wlr_cursor_warp_closest(cursor, NULL, c->geom.x + c->geom.width / 2.0,
c->geom.y + c->geom.height / 2.0);
}
+ motionnotify(0, NULL, 0, 0, 0, 0);
}
}
@@ -2010,6 +2011,7 @@ focusstack(const Arg *arg)
if (warpcursor) {
wlr_cursor_warp_closest( cursor, NULL, c->geom.x + c->geom.width / 2.0,
c->geom.y + c->geom.height / 2.0);
+ motionnotify(0, NULL, 0, 0, 0, 0);
}
}
@@ -2210,6 +2212,7 @@ incnmaster(const Arg *arg)
if (c) {
wlr_cursor_warp_closest(cursor, NULL, c->geom.x + c->geom.width / 2.0,
c->geom.y + c->geom.height / 2.0);
+ motionnotify(0, NULL, 0, 0, 0, 0);
}
}
}
@@ -3141,6 +3144,7 @@ setmfact(const Arg *arg)
if (c) {
wlr_cursor_warp_closest(cursor, NULL, c->geom.x + c->geom.width / 2.0,
c->geom.y + c->geom.height / 2.0);
+ motionnotify(0, NULL, 0, 0, 0, 0);
}
}
}