LCL-Gtk2: fixed handling of dragging image coordinates when it is dragged to non-client widget area, patch by Alexander (Rouse_) Bagel, issue #40658

This commit is contained in:
Maxim Ganetsky 2023-12-22 18:45:41 +03:00
parent 4feb9205c3
commit 1783ee35d1

View File

@ -5377,7 +5377,7 @@ begin
begin
if gdk_window_is_visible(FDragImageList^.Window) then
gdk_window_raise(FDragImageList^.Window);
gdk_window_move(FDragImageList^.Window, X - FDragHotStop.X, Y - FDragHotStop.Y);
gtk_window_move(GTK_WINDOW(FDragImageList), X - FDragHotStop.X, Y - FDragHotStop.Y);
end;
end;