Merge branch 'wip/exalm/hotspot-fix-324' into 'gtk-3-24'

wayland: Fix dnd hotspot movement

See merge request GNOME/gtk!2491
This commit is contained in:
Matthias Clasen 2020-08-26 23:48:48 +00:00
commit 3795d0ad8c

View File

@ -374,7 +374,7 @@ gdk_wayland_drag_context_set_hotspot (GdkDragContext *context,
return;
_gdk_wayland_window_offset_next_wl_buffer (context_wayland->dnd_window,
-hot_x, -hot_y);
prev_hot_x - hot_x, prev_hot_y - hot_y);
gdk_window_invalidate_rect (context_wayland->dnd_window, &damage_rect, FALSE);
}