|
@@ -4097,11 +4097,11 @@ _SOKOL_PRIVATE void _sapp_macos_frame(void) {
|
|
#endif
|
|
#endif
|
|
[_sapp.macos.window center];
|
|
[_sapp.macos.window center];
|
|
_sapp.valid = true;
|
|
_sapp.valid = true;
|
|
|
|
+ NSApp.activationPolicy = NSApplicationActivationPolicyRegular;
|
|
if (_sapp.fullscreen) {
|
|
if (_sapp.fullscreen) {
|
|
/* ^^^ on GL, this already toggles a rendered frame, so set the valid flag before */
|
|
/* ^^^ on GL, this already toggles a rendered frame, so set the valid flag before */
|
|
[_sapp.macos.window toggleFullScreen:self];
|
|
[_sapp.macos.window toggleFullScreen:self];
|
|
}
|
|
}
|
|
- NSApp.activationPolicy = NSApplicationActivationPolicyRegular;
|
|
|
|
[NSApp activateIgnoringOtherApps:YES];
|
|
[NSApp activateIgnoringOtherApps:YES];
|
|
[_sapp.macos.window makeKeyAndOrderFront:nil];
|
|
[_sapp.macos.window makeKeyAndOrderFront:nil];
|
|
_sapp_macos_update_dimensions();
|
|
_sapp_macos_update_dimensions();
|