mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-19 06:59:56 -05:00
fix: reset pointer after warp cursor
This commit is contained in:
parent
44957e72b4
commit
731e3cfd21
1 changed files with 2 additions and 0 deletions
2
maomao.c
2
maomao.c
|
|
@ -6612,6 +6612,8 @@ void warp_cursor(const Client *c) {
|
|||
cursor->y < c->geom.y || cursor->y > c->geom.y + c->geom.height)
|
||||
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);
|
||||
|
||||
}
|
||||
|
||||
void warp_cursor_to_selmon(const Monitor *m) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue