Add warning that clipboard screenshot is not supported properly by wayland

This commit is contained in:
dec05eba
2025-10-30 18:19:15 +01:00
parent c4ff7fd6b8
commit d9496e0a0a
3 changed files with 9 additions and 2 deletions

View File

@@ -216,7 +216,7 @@ namespace gsr {
}
std::unique_ptr<CheckBox> ScreenshotSettingsPage::create_save_screenshot_to_clipboard() {
auto checkbox = std::make_unique<CheckBox>(&get_theme().body_font, "Save screenshot to clipboard");
auto checkbox = std::make_unique<CheckBox>(&get_theme().body_font, gsr_info->system_info.display_server == DisplayServer::X11 ? "Save screenshot to clipboard" : "Save screenshot to clipboard (Not supported properly by Wayland)");
save_screenshot_to_clipboard_checkbox_ptr = checkbox.get();
return checkbox;
}