diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-05-10 18:26:07 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-05-10 18:26:07 +0200 |
commit | 6994fb10fa61ad6d8af0a3958a6332d64915d799 (patch) | |
tree | a1d6227936670dfbb99cf6b04aad4ed4108680e4 | |
parent | 247bec330977967dd944dda37aefab110d0ba72a (diff) |
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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. |