add supports_window_fullscreen_state and don't show "X11 applications only" in settings where applicable

Also fixed the lower-case "led" instead of "LED" in settings as it was bothering me!
This commit is contained in:
p0358
2026-02-19 23:11:13 +01:00
committed by dec05eba
parent 48609e33c9
commit 4b47063406
4 changed files with 14 additions and 9 deletions

View File

@@ -290,5 +290,6 @@ namespace gsr {
std::unique_ptr<LedIndicator> led_indicator = nullptr;
bool supports_window_title = false;
bool supports_window_fullscreen_state = false;
};
}

View File

@@ -41,7 +41,7 @@ namespace gsr {
STREAM
};
SettingsPage(Type type, const GsrInfo *gsr_info, Config &config, PageStack *page_stack, bool supports_window_title);
SettingsPage(Type type, const GsrInfo *gsr_info, Config &config, PageStack *page_stack, bool supports_window_title, bool supports_window_fullscreen_state);
SettingsPage(const SettingsPage&) = delete;
SettingsPage& operator=(const SettingsPage&) = delete;
@@ -249,5 +249,6 @@ namespace gsr {
std::optional<GsrCameraSetup> selected_camera_setup;
bool supports_window_title = false;
bool supports_window_fullscreen_state = false;
};
}