diff options
author | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-11-15 23:07:45 -0600 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-11-15 23:07:45 -0600 |
commit | dae00caaddee6d14cb566ee750c976543788d5fe (patch) | |
tree | 820b64f38bef9f10694812616f819fc970e7a670 | |
parent | 5eb352927575bd45c75d6d7f5e3f7a6e3499a85f (diff) |
update for wlroots!3861
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3861
-rw-r--r-- | dwl.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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. */ |