diff options
author | Squibid <me@zacharyscheiman.com> | 2025-02-22 12:21:30 -0600 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2025-02-22 12:21:30 -0600 |
commit | f5638eff2c7c23fd3bb7752ad2617f0a423858dd (patch) | |
tree | 3bf1f33271c8623049961fb2ce8f246a3a99a776 /dwl.c | |
parent | 9f25812dc5c27ac140845f65fa20dcbd7504e5c7 (diff) | |
download | dwl-f5638eff2c7c23fd3bb7752ad2617f0a423858dd.tar.gz dwl-f5638eff2c7c23fd3bb7752ad2617f0a423858dd.tar.bz2 dwl-f5638eff2c7c23fd3bb7752ad2617f0a423858dd.zip |
add motionnotify after warpcursor
Diffstat (limited to 'dwl.c')
-rw-r--r-- | dwl.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); } } } |