aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/input/seat.h
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2022-11-15 14:48:28 +0100
committerLibravatar Kirill Primak <vyivel@eclair.cafe>2022-11-15 16:58:20 +0300
commit024c3e4428ad4291a83d8fb0ccfbbd068f703542 (patch)
tree3d485d411e1b678426ed0c623d4d953613ca458c /include/sway/input/seat.h
parentsway/server: specify wlr-layer-shell version on creation (diff)
downloadsway-024c3e4428ad4291a83d8fb0ccfbbd068f703542.tar.gz
sway-024c3e4428ad4291a83d8fb0ccfbbd068f703542.tar.zst
sway-024c3e4428ad4291a83d8fb0ccfbbd068f703542.zip
input/seat: locally compute drag icon offset
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3861
Diffstat (limited to 'include/sway/input/seat.h')
-rw-r--r--include/sway/input/seat.h1
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 {
72 struct wl_list link; // sway_root::drag_icons 72 struct wl_list link; // sway_root::drag_icons
73 73
74 double x, y; // in layout-local coordinates 74 double x, y; // in layout-local coordinates
75 int dx, dy; // offset in surface-local coordinates
75 76
76 struct wl_listener surface_commit; 77 struct wl_listener surface_commit;
77 struct wl_listener map; 78 struct wl_listener map;