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

(cherry picked from commit 1783ee35d1)
This commit is contained in:
Maxim Ganetsky 2023-12-22 18:45:41 +03:00
parent faef2f1e7a
commit 74d11fdff0

View File

@ -5376,7 +5376,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;