From 6c7f07dd5ac2e0315de9ed14edce345a4cdf7c66 Mon Sep 17 00:00:00 2001 From: Yukino Song Date: Fri, 6 Jun 2025 16:59:08 +0800 Subject: [PATCH] Auto terminate input only session --- src/process.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/process.cpp b/src/process.cpp index 8006bc17..77eceb2b 100644 --- a/src/process.cpp +++ b/src/process.cpp @@ -166,6 +166,7 @@ namespace proc { _app_id = input_only_app_id; _app_name = "Remote Input"; _app.uuid = REMOTE_INPUT_UUID; + _app.terminate_on_pause = true; allow_client_commands = false; placebo = true; @@ -1490,7 +1491,7 @@ namespace proc { ctx.use_app_identity = false; ctx.per_client_app_identity = false; ctx.allow_client_commands = false; - ctx.terminate_on_pause = false; + ctx.terminate_on_pause = true; // There's no need to keep an active input only session ongoing ctx.elevated = false; ctx.auto_detach = true;