update for wlroots!3861
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3861
This commit is contained in:
parent
5eb3529275
commit
dae00caadd
4
dwl.c
4
dwl.c
|
@ -1439,8 +1439,8 @@ motionnotify(uint32_t time)
|
||||||
|
|
||||||
/* Update drag icon's position if any */
|
/* Update drag icon's position if any */
|
||||||
if (seat->drag && (icon = seat->drag->icon))
|
if (seat->drag && (icon = seat->drag->icon))
|
||||||
wlr_scene_node_set_position(icon->data, cursor->x + icon->surface->sx,
|
wlr_scene_node_set_position(icon->data, cursor->x + icon->surface->current.dx,
|
||||||
cursor->y + icon->surface->sy);
|
cursor->y + icon->surface->current.dy);
|
||||||
/* If we are currently grabbing the mouse, handle and return */
|
/* If we are currently grabbing the mouse, handle and return */
|
||||||
if (cursor_mode == CurMove) {
|
if (cursor_mode == CurMove) {
|
||||||
/* Move the grabbed client to the new position. */
|
/* Move the grabbed client to the new position. */
|
||||||
|
|
Loading…
Reference in a new issue