screencopy: add force 8 bit to fix 10b screensharing (#11623)

ref https://github.com/hyprwm/xdg-desktop-portal-hyprland/issues/270
This commit is contained in:
Vaxry 2025-09-08 11:07:04 +02:00 committed by GitHub
parent bce43f74eb
commit 02bb350bb3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 22 additions and 3 deletions

View file

@ -1321,6 +1321,12 @@ inline static const std::vector<SConfigOptionDescription> 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: