From 6994fb10fa61ad6d8af0a3958a6332d64915d799 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 10 May 2025 18:26:07 +0200 Subject: M --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 8a28624..5eef1f4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2740,7 +2740,7 @@ static void video_codec_set_sensitive(GtkCellLayout *cell_layout, GtkCellRendere } static void launch_gsr_ui(bool launched_by_daemon) { - const char *args[] = { "gsr-ui", show_ui ? "launch-daemon" : "launch-hide", nullptr }; + const char *args[] = { "gsr-ui", launched_by_daemon ? "launch-daemon" : "launch-hide", nullptr }; execvp(args[0], (char* const*)args); // TODO: This is incorrect because window wont be defined here if this is called from startup. // This is fine for not because this is only called inside the flatpak where gsr-ui is always available. -- cgit v1.2.3-70-g09d2