diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-02-22 13:39:06 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-02-22 13:39:06 +0100 |
commit | 51a47193d793d5fafbe10bd92a6f1ab5345e74ba (patch) | |
tree | ee08e768d81abaa7b22a476f971094713acffccf | |
parent | 189736c1a96a1ad0e571ad69f01039e96455011a (diff) |
Show correct process on screenshot failure
-rw-r--r-- | src/Overlay.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Overlay.cpp b/src/Overlay.cpp index ef4e630..22d8a7f 100644 --- a/src/Overlay.cpp +++ b/src/Overlay.cpp @@ -1649,7 +1649,7 @@ namespace gsr { show_notification(text.c_str(), 3.0, mgl::Color(255, 255, 255), get_color_theme().tint_color, NotificationType::SCREENSHOT); } } else { - fprintf(stderr, "Warning: gpu-screen-recorder (%d) exited with exit status %d\n", (int)gpu_screen_recorder_process, exit_code); + fprintf(stderr, "Warning: gpu-screen-recorder (%d) exited with exit status %d\n", (int)gpu_screen_recorder_screenshot_process, exit_code); show_notification("Failed to take a screenshot. Verify if settings are correct", 3.0, mgl::Color(255, 0, 0), mgl::Color(255, 0, 0), NotificationType::SCREENSHOT); } |