Skip to content

Commit

Permalink
fix notch reported size on first launch (#469)
Browse files Browse the repository at this point in the history
Fix for #463
  • Loading branch information
hugleo committed Apr 28, 2024
1 parent 3191e4e commit c1c82a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jni/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ void android_main(struct android_app* state) {
// Check if we are exiting.
if (state->destroyRequested != 0) {
LOGV("onDestroy()");
window_ready = 0;
gained_focus = 0;
return;
}
}
Expand Down

0 comments on commit c1c82a5

Please sign in to comment.