mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-08 23:16:16 +02:00
gtk: improve TGtkWidgetset.WindowFromPoint (fixes issue #0014511)
git-svn-id: trunk@21590 -
This commit is contained in:
parent
9723014358
commit
bbba97d4a7
@ -9714,7 +9714,7 @@ var
|
||||
p: TPoint;
|
||||
begin
|
||||
// return cached value to prevent heavy gdk_window_at_pointer call
|
||||
if (APoint = LastWFPMousePos) then
|
||||
if (APoint = LastWFPMousePos) and GTK_IS_OBJECT(Pointer(LastWFPResult)) then
|
||||
Exit(LastWFPResult);
|
||||
Result := 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user