Skip to content
Snippets Groups Projects
Unverified Commit 6917f86d authored by nat-goodspeed's avatar nat-goodspeed Committed by GitHub
Browse files

Merge pull request #300 from larsnaesbye/main

Replace deprecated event mask call (macOS)
parents 64a0911e fbc4c9e3
No related branches found
No related tags found
2 merge requests!3Update to main branch,!2Rebase onto current main branch
...@@ -95,7 +95,7 @@ void LLCocoaPlugin::processEvents() ...@@ -95,7 +95,7 @@ void LLCocoaPlugin::processEvents()
{ {
// Some plugins (webkit at least) will want an event loop. This qualifies. // Some plugins (webkit at least) will want an event loop. This qualifies.
NSEvent * event; NSEvent * event;
event = [NSApp nextEventMatchingMask:NSAnyEventMask untilDate:[NSDate distantPast] inMode:NSDefaultRunLoopMode dequeue:YES]; event = [NSApp nextEventMatchingMask:NSEventMaskAny untilDate:[NSDate distantPast] inMode:NSDefaultRunLoopMode dequeue:YES];
[NSApp sendEvent: event]; [NSApp sendEvent: event];
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment