1
0
Fork 0

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:
Carlos Garnacho 2024-01-25 16:43:48 +01:00
parent 1b3759d51c
commit e5483a963e

View file

@ -1616,7 +1616,7 @@ meta_wayland_surface_begin_grab_op (MetaWaylandSurface *surface,
grab_op,
device, sequence,
meta_display_get_current_time_roundtrip (window->display),
NULL);
&GRAPHENE_POINT_INIT (x, y));
}
/**