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