Merge branch 'wip/exalm/hotspot-fix' into 'master'

wayland: Fix dnd hotspot movement

See merge request GNOME/gtk!2492
This commit is contained in:
Matthias Clasen
2020-08-26 23:44:15 +00:00

View File

@@ -137,7 +137,7 @@ gdk_wayland_drag_set_hotspot (GdkDrag *drag,
return;
_gdk_wayland_surface_offset_next_wl_buffer (drag_wayland->dnd_surface,
-hot_x, -hot_y);
prev_hot_x - hot_x, prev_hot_y - hot_y);
gdk_surface_invalidate_rect (drag_wayland->dnd_surface, &damage_rect);
}