mirror of
https://github.com/brl/mutter.git
synced 2025-01-09 19:22:22 +00:00
wayland: Pass button/touch press begin coordinates as window drag hint
This will make windows stick to the pointer from the right point where dragging started. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3546>
This commit is contained in:
parent
1b3759d51c
commit
e5483a963e
@ -1616,7 +1616,7 @@ meta_wayland_surface_begin_grab_op (MetaWaylandSurface *surface,
|
|||||||
grab_op,
|
grab_op,
|
||||||
device, sequence,
|
device, sequence,
|
||||||
meta_display_get_current_time_roundtrip (window->display),
|
meta_display_get_current_time_roundtrip (window->display),
|
||||||
NULL);
|
&GRAPHENE_POINT_INIT (x, y));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user