Force cursor shape update after move/resize client

This commit is contained in:
A Frederick Christensen 2025-08-14 17:56:50 -05:00
parent ab4cb6e283
commit 535c2d39c0
No known key found for this signature in database
GPG Key ID: 6183FA655784FC36

3
dwl.c
View File

@ -661,6 +661,9 @@ buttonpress(struct wl_listener *listener, void *data)
selmon = xytomon(cursor->x, cursor->y);
setmon(grabc, selmon, 0);
grabc = NULL;
/* Force update to cursor shape */
xytonode(cursor->x, cursor->y, NULL, &c, NULL, NULL, NULL);
focusclient(c, 1);
return;
}
cursor_mode = CurNormal;