diff options
author | Simon Ser <contact@emersion.fr> | 2022-11-15 14:48:28 +0100 |
---|---|---|
committer | Kirill Primak <vyivel@eclair.cafe> | 2022-11-15 16:58:20 +0300 |
commit | 024c3e4428ad4291a83d8fb0ccfbbd068f703542 (patch) | |
tree | 3d485d411e1b678426ed0c623d4d953613ca458c /include | |
parent | e1be46875daba9a5d79f2fc7a92ead8a2285882d (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; |