diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2022-11-15 14:48:28 +0100 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2022-11-15 14:48:28 +0100 |
| commit | 313d11dedbff397c81cc3317b54d1a3942d76fa2 (patch) | |
| tree | 3d485d411e1b678426ed0c623d4d953613ca458c /include | |
| parent | f7c083b69d896bada110069dfdf17bd1b3f08bfd (diff) | |
input/seat: locally compute drag icon offset
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3861
Diffstat (limited to 'include')
| -rw-r--r-- | include/sway/input/seat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h index e3a46872..4abe91f7 100644 --- a/include/sway/input/seat.h +++ b/include/sway/input/seat.h @@ -72,6 +72,7 @@ struct sway_drag_icon { struct wl_list link; // sway_root::drag_icons double x, y; // in layout-local coordinates + int dx, dy; // offset in surface-local coordinates struct wl_listener surface_commit; struct wl_listener map; |
