commit dae00caaddee6d14cb566ee750c976543788d5fe
parent 5eb352927575bd45c75d6d7f5e3f7a6e3499a85f
Author: Leonardo Hernández Hernández <leohdz172@protonmail.com>
Date: Tue, 15 Nov 2022 23:07:45 -0600
update for wlroots!3861
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3861
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dwl.c b/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. */