diff options
author | nat-goodspeed <nat@lindenlab.com> | 2023-07-24 19:15:09 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-24 19:15:09 +0300 |
commit | 6917f86dab62da1c95cbce14baccacc77c7f76d1 (patch) | |
tree | 510e0db2c74dded3f76ed9b7361cc0a7af1f218d | |
parent | 64a0911eeff765e43e634b7bad857a26cc931ce0 (diff) | |
parent | fbc4c9e31fd80a721767f0bb3c32df5bce7a149a (diff) |
Merge pull request #300 from larsnaesbye/main
Replace deprecated event mask call (macOS)
-rw-r--r-- | indra/llplugin/slplugin/slplugin-objc.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llplugin/slplugin/slplugin-objc.mm b/indra/llplugin/slplugin/slplugin-objc.mm index a5ab1d95c8..68ff196eaf 100644 --- a/indra/llplugin/slplugin/slplugin-objc.mm +++ b/indra/llplugin/slplugin/slplugin-objc.mm @@ -95,7 +95,7 @@ void LLCocoaPlugin::processEvents() { // Some plugins (webkit at least) will want an event loop. This qualifies. 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]; } |