mirror of
https://codeberg.org/dwl/dwl.git
synced 2025-10-29 05:40:19 -04:00
Force cursor shape update after move/resize client
This commit is contained in:
parent
ab4cb6e283
commit
535c2d39c0
1 changed files with 3 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue