From 02bb350bb3355b5f08e7b0635be10ee47c69346a Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Mon, 8 Sep 2025 11:07:04 +0200 Subject: screencopy: add force 8 bit to fix 10b screensharing (#11623) ref https://github.com/hyprwm/xdg-desktop-portal-hyprland/issues/270 --- src/config/ConfigDescriptions.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/config/ConfigDescriptions.hpp') diff --git a/src/config/ConfigDescriptions.hpp b/src/config/ConfigDescriptions.hpp index 0308dde0..ee8fa240 100644 --- a/src/config/ConfigDescriptions.hpp +++ b/src/config/ConfigDescriptions.hpp @@ -1321,6 +1321,12 @@ inline static const std::vector CONFIG_OPTIONS = { .type = CONFIG_OPTION_INT, .data = SConfigOptionDescription::SRangeData{1, 1, 10}, }, + SConfigOptionDescription{ + .value = "misc:screencopy_force_8b", + .description = "forces 8 bit screencopy (fixes apps that don't understand 10bit)", + .type = CONFIG_OPTION_BOOL, + .data = SConfigOptionDescription::SBoolData{true}, + }, /* * binds: -- cgit v1.2.3