mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-14 14:59:41 +02:00
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:
parent
faef2f1e7a
commit
74d11fdff0
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user