aboutsummaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-10-20 22:44:15 +0200
committerdec05eba <dec05eba@protonmail.com>2024-10-20 22:44:15 +0200
commitd84054ecbbd15e92736e5e5f55e36f72f410d3a5 (patch)
tree25f3aae9ca5c4e16eb0bfe163044c1080f9bed96 /src/gui
parent939bf23921cce4b934ecc2a98fa871c7538d0276 (diff)
gsr-overlay > gsr-ui
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/FileChooser.cpp2
-rw-r--r--src/gui/SettingsPage.cpp5
2 files changed, 4 insertions, 3 deletions
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<ComboBox> SettingsPage::create_record_area_box(const GsrInfo &gsr_info) {
auto record_area_box = std::make_unique<ComboBox>(&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)