Skip to content

Commit 02e2d56

Browse files
author
GH Action
committed
1 parent cc3468b commit 02e2d56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sokol/c/sokol_app.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4097,11 +4097,11 @@ _SOKOL_PRIVATE void _sapp_macos_frame(void) {
40974097
#endif
40984098
[_sapp.macos.window center];
40994099
_sapp.valid = true;
4100+
NSApp.activationPolicy = NSApplicationActivationPolicyRegular;
41004101
if (_sapp.fullscreen) {
41014102
/* ^^^ on GL, this already toggles a rendered frame, so set the valid flag before */
41024103
[_sapp.macos.window toggleFullScreen:self];
41034104
}
4104-
NSApp.activationPolicy = NSApplicationActivationPolicyRegular;
41054105
[NSApp activateIgnoringOtherApps:YES];
41064106
[_sapp.macos.window makeKeyAndOrderFront:nil];
41074107
_sapp_macos_update_dimensions();

0 commit comments

Comments
 (0)