Skip to content

Commit

Permalink
don't keep ui awake when app is not in stream
Browse files Browse the repository at this point in the history
  • Loading branch information
mariotaku committed Jan 18, 2024
1 parent 0fa8e02 commit 8f68924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/ui/root.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ void app_ui_open(app_ui_t *ui, const app_launch_params_t *params) {

SDL_SetAssertionHandler(app_assertion_handler_ui, ui->app);

app_set_keep_awake(ui->app, true);
app_set_keep_awake(ui->app, false);
}

void app_ui_close(app_ui_t *ui) {
Expand Down

0 comments on commit 8f68924

Please sign in to comment.