summaryrefslogtreecommitdiff
path: root/vcl/osx/salinst.cxx
diff options
context:
space:
mode:
authorPatrick Luby <plubius@neooffice.org>2023-09-10 14:22:55 -0400
committerPatrick Luby <plubius@neooffice.org>2023-09-10 23:25:06 +0200
commitbe9d7bee88eff89c0d361f23abb447ac2086c3b4 (patch)
tree24672ccda3c1689a59cb2e89f10e29fa86a21936 /vcl/osx/salinst.cxx
parentaa1ab7d3b7646ee5d5ee879b5faaecf620969958 (diff)
attempt to fix macos jenkins hangs - part 2
Commit a1174a5f1e312ebb98c3941d35287a8ffcb368e9 attempts to fix sporadic blocking and waiting when fetching a native event so use the same fix in AquaSalInstance::AnyInput() just to be safe. Change-Id: I1505b6089f11be825bd13e0219a305159dfc324f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156803 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins Reviewed-by: Patrick Luby <plubius@neooffice.org>
Diffstat (limited to 'vcl/osx/salinst.cxx')
-rw-r--r--vcl/osx/salinst.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/osx/salinst.cxx b/vcl/osx/salinst.cxx
index 645e82b0b59c..412aacd3d27b 100644
--- a/vcl/osx/salinst.cxx
+++ b/vcl/osx/salinst.cxx
@@ -732,7 +732,7 @@ bool AquaSalInstance::AnyInput( VclInputFlags nType )
if( !bool(nType) )
return false;
- NSEvent* pEvent = [NSApp nextEventMatchingMask: nEventMask untilDate: nil
+ NSEvent* pEvent = [NSApp nextEventMatchingMask: nEventMask untilDate: [NSDate distantPast]
inMode: NSDefaultRunLoopMode dequeue: NO];
return (pEvent != nullptr);
}