From a9a1f9d01c502e17982fda59c44e7a81083482b3 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 12 Nov 2025 23:22:33 +0100 Subject: [PATCH] Only show 'saving replay, this might take some time' if notifications are enabled --- src/LedIndicator.cpp | 2 +- src/Overlay.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/LedIndicator.cpp b/src/LedIndicator.cpp index cf18fff..e0e1d2c 100644 --- a/src/LedIndicator.cpp +++ b/src/LedIndicator.cpp @@ -58,7 +58,7 @@ namespace gsr { perror("gsr-global-hotkeys"); _exit(127); - return true; + return false; } else { // Parent return true; } diff --git a/src/Overlay.cpp b/src/Overlay.cpp index 4dc80a5..a969e61 100644 --- a/src/Overlay.cpp +++ b/src/Overlay.cpp @@ -2024,7 +2024,8 @@ namespace gsr { void Overlay::process_gsr_output() { if(replay_save_show_notification && replay_save_clock.get_elapsed_time_seconds() >= replay_saving_notification_timeout_seconds) { replay_save_show_notification = false; - show_notification("Saving replay, this might take some time", notification_timeout_seconds, mgl::Color(255, 255, 255), get_color_theme().tint_color, NotificationType::REPLAY); + if(config.replay_config.record_options.show_notifications) + show_notification("Saving replay, this might take some time", notification_timeout_seconds, mgl::Color(255, 255, 255), get_color_theme().tint_color, NotificationType::REPLAY); } if(gpu_screen_recorder_process_output_file) {