mirror of
https://github.com/swaywm/sway.git
synced 2025-04-04 03:17:46 +03:00
input/seat: locally compute drag icon offset
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3861
This commit is contained in:
parent
e1be46875d
commit
024c3e4428
2 changed files with 8 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue