summaryrefslogtreecommitdiff
path: root/vcl/osx/salinst.cxx
diff options
context:
space:
mode:
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);
}