mirror of
https://codeberg.org/dwl/dwl.git
synced 2025-10-28 02:34:15 +00:00
Force cursor shape update after move/resize client
This commit is contained in:
parent
ab4cb6e283
commit
535c2d39c0
3
dwl.c
3
dwl.c
@ -661,6 +661,9 @@ buttonpress(struct wl_listener *listener, void *data)
|
|||||||
selmon = xytomon(cursor->x, cursor->y);
|
selmon = xytomon(cursor->x, cursor->y);
|
||||||
setmon(grabc, selmon, 0);
|
setmon(grabc, selmon, 0);
|
||||||
grabc = NULL;
|
grabc = NULL;
|
||||||
|
/* Force update to cursor shape */
|
||||||
|
xytonode(cursor->x, cursor->y, NULL, &c, NULL, NULL, NULL);
|
||||||
|
focusclient(c, 1);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
cursor_mode = CurNormal;
|
cursor_mode = CurNormal;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user