Override NSApplicationUpdateCycleEnabled to fix reduced mouse polling rate

Apps built with the macOS 26+ SDK default to an event loop synchronized to the display which caps input polling rates.

We have to use the plist for the opt-out, since NSApp is already set up by Qt before SDL can set this default.

Fixes #2036
This commit is contained in:
Cameron Gutman committed 2026-10-17 14:06:10 -05:00
1 parent b0af84ead1
commit f018a71a8a
1 file changed
+2
+2
View File
@@ -8,6 +8,8 @@
<string>Moonlight</string>
<key>LSSupportsGameMode</key>
<true/>
<key>NSApplicationUpdateCycleEnabled</key>
<false/>
<key>CFBundleGetInfoString</key>
<string>Stream games and other applications from another PC</string>
<key>CFBundleIconFile</key>