We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc3468b commit 02e2d56Copy full SHA for 02e2d56
src/sokol/c/sokol_app.h
@@ -4097,11 +4097,11 @@ _SOKOL_PRIVATE void _sapp_macos_frame(void) {
4097
#endif
4098
[_sapp.macos.window center];
4099
_sapp.valid = true;
4100
+ NSApp.activationPolicy = NSApplicationActivationPolicyRegular;
4101
if (_sapp.fullscreen) {
4102
/* ^^^ on GL, this already toggles a rendered frame, so set the valid flag before */
4103
[_sapp.macos.window toggleFullScreen:self];
4104
}
- NSApp.activationPolicy = NSApplicationActivationPolicyRegular;
4105
[NSApp activateIgnoringOtherApps:YES];
4106
[_sapp.macos.window makeKeyAndOrderFront:nil];
4107
_sapp_macos_update_dimensions();
0 commit comments