mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-26 22:03:48 +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
This commit is contained in:
parent
4feb9205c3
commit
1783ee35d1
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user