From d84054ecbbd15e92736e5e5f55e36f72f410d3a5 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 20 Oct 2024 22:44:15 +0200 Subject: gsr-overlay > gsr-ui --- src/gui/FileChooser.cpp | 2 +- src/gui/SettingsPage.cpp | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src/gui') diff --git a/src/gui/FileChooser.cpp b/src/gui/FileChooser.cpp index a48a3b0..8ec498f 100644 --- a/src/gui/FileChooser.cpp +++ b/src/gui/FileChooser.cpp @@ -138,7 +138,7 @@ namespace gsr { DIR *d = opendir(directory); if(!d) { - fprintf(stderr, "gsr-overlay error: failed to open directory: %s, error: %s\n", directory, strerror(errno)); + fprintf(stderr, "gsr-ui error: failed to open directory: %s, error: %s\n", directory, strerror(errno)); return; } diff --git a/src/gui/SettingsPage.cpp b/src/gui/SettingsPage.cpp index 8b06499..fb2cc68 100644 --- a/src/gui/SettingsPage.cpp +++ b/src/gui/SettingsPage.cpp @@ -48,8 +48,9 @@ namespace gsr { std::unique_ptr SettingsPage::create_record_area_box(const GsrInfo &gsr_info) { auto record_area_box = std::make_unique(&get_theme().body_font); // TODO: Show options not supported but disable them - if(gsr_info.supported_capture_options.window) - record_area_box->add_item("Window", "window"); + // TODO: Enable this + //if(gsr_info.supported_capture_options.window) + // record_area_box->add_item("Window", "window"); if(gsr_info.supported_capture_options.focused) record_area_box->add_item("Follow focused window", "focused"); if(gsr_info.supported_capture_options.screen) -- cgit v1.2.3