From 024c3e4428ad4291a83d8fb0ccfbbd068f703542 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 15 Nov 2022 14:48:28 +0100 Subject: input/seat: locally compute drag icon offset References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3861 --- include/sway/input/seat.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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; -- cgit v1.2.3-70-g09d2