From 57977f29e10c8c2a8ba58c25e9ab653aed7cc0a9 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 20 Oct 2024 22:46:28 +0200 Subject: gsr-overlay > gsr-ui, 2 --- gsr-ui-daemon/main.c | 6 +++--- src/Overlay.cpp | 2 +- src/main.cpp | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gsr-ui-daemon/main.c b/gsr-ui-daemon/main.c index 18234c2..d5419d7 100644 --- a/gsr-ui-daemon/main.c +++ b/gsr-ui-daemon/main.c @@ -82,7 +82,7 @@ int main(void) { pid_t overlay_pid = -1; - fprintf(stderr, "gsr overlay is now ready, waiting for inputs. Press alt+z to show/hide the overlay\n"); + fprintf(stderr, "gsr ui is now ready, waiting for inputs. Press alt+z to show/hide the ui\n"); XEvent xev; for(;;) { @@ -105,9 +105,9 @@ int main(void) { } if(overlay_pid == -1) { - fprintf(stderr, "launch overlay\n"); + fprintf(stderr, "launch ui\n"); // TODO: window_with_input_focus - const char *args[] = { "gsr-overlay", NULL }; + const char *args[] = { "gsr-ui", NULL }; exec_program(args, &overlay_pid); } } diff --git a/src/Overlay.cpp b/src/Overlay.cpp index c8b2678..ff12770 100644 --- a/src/Overlay.cpp +++ b/src/Overlay.cpp @@ -482,7 +482,7 @@ namespace gsr { } int exit_code = -1; - // The process is no longer a child process since gsr overlay has restarted + // The process is no longer a child process since gsr ui has restarted if(errno == ECHILD) { errno = 0; kill(gpu_screen_recorder_process, 0); diff --git a/src/main.cpp b/src/main.cpp index 3760368..198cb9f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -110,7 +110,7 @@ int main(int argc, char **argv) { window_create_params.render_api = MGL_RENDER_API_EGL; mgl::Window window; - if(!window.create("gsr overlay", window_create_params)) + if(!window.create("gsr ui", window_create_params)) startup_error("failed to create window"); unsigned char data = 2; // Prefer being composed to allow transparency @@ -133,7 +133,7 @@ int main(int argc, char **argv) { // overlay.toggle_show(); // }); - //fprintf(stderr, "info: gsr overlay is now ready, waiting for inputs. Press alt+z to show/hide the overlay\n"); + //fprintf(stderr, "info: gsr ui is now ready, waiting for inputs. Press alt+z to show/hide the overlay\n"); mgl::Event event; mgl::Clock frame_delta_clock; -- cgit v1.2.3