mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 01:29:08 +02:00
cocoa: calling idle event for nativeloop
git-svn-id: trunk@61412 -
This commit is contained in:
parent
d0da669311
commit
23631ab836
@ -592,7 +592,13 @@ begin
|
||||
Result:=inherited nextEventMatchingMask_untilDate_inMode_dequeue(mask,
|
||||
expiration, mode, deqFlag);
|
||||
{$endif}
|
||||
if not Assigned(Result) then Exit;
|
||||
if not Assigned(Result) then
|
||||
begin
|
||||
{$ifdef COCOALOOPNATIVE}
|
||||
if Assigned(Application) then Application.Idle(true);
|
||||
{$endif}
|
||||
Exit;
|
||||
end;
|
||||
|
||||
if ((mode = NSEventTrackingRunLoopMode) or mode.isEqualToString(NSEventTrackingRunLoopMode))
|
||||
and Assigned(TrackedControl)
|
||||
|
Loading…
Reference in New Issue
Block a user