aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-12-29 21:22:35 +0100
committerdec05eba <dec05eba@protonmail.com>2024-12-29 21:22:35 +0100
commit38e2a06bca6f35153fc93ae60ffdf7683d72fb49 (patch)
treec560f142ba1945e7aff96c4c3f91010d5fce9458
parent9c999f8ab917201a9b25ea82e9cbc7fe880492c1 (diff)
Fix go back to old ui incorrect arg
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 4715cd4..6b6d60a 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -306,7 +306,7 @@ int main(int argc, char **argv) {
global_hotkeys.reset();
if(exit_reason == "back-to-old-ui") {
- const char *args[] = { "gpu-screen-recorder-gtk", nullptr };
+ const char *args[] = { "gpu-screen-recorder-gtk", "use-old-ui", nullptr };
execvp(args[0], (char* const*)args);
}