diff --git a/src/process.cpp b/src/process.cpp index 8d915304..e7548b7b 100644 --- a/src/process.cpp +++ b/src/process.cpp @@ -155,7 +155,7 @@ namespace proc { } int - proc_t::execute(int app_id, const ctx_t& _app, std::shared_ptr launch_session) { + proc_t::execute(int app_id, const ctx_t& app, std::shared_ptr launch_session) { // Ensure starting from a clean slate terminate(); @@ -164,6 +164,7 @@ namespace proc { terminate(); }); + _app = app; _app_id = app_id; _launch_session = launch_session; diff --git a/src/system_tray.cpp b/src/system_tray.cpp index d5a7cb85..a1f00c06 100644 --- a/src/system_tray.cpp +++ b/src/system_tray.cpp @@ -311,7 +311,7 @@ namespace system_tray { tray.icon = TRAY_ICON; tray_update(&tray); char msg[256]; - snprintf(msg, std::size(msg), "Streaming paused for %s", app_name.c_str()); + snprintf(msg, std::size(msg), "Streaming stopped for %s", app_name.c_str()); #ifdef _WIN32 strcpy(msg, convertUtf8ToCurrentCodepage(msg).c_str()); #endif