Use xdg-output for Wayland fractional scaling

That's way more stable
This commit is contained in:
Ilya Fedin 2023-12-01 14:02:42 +04:00 committed by John Preston
parent cb3dece478
commit 664ebe4ed0
2 changed files with 4 additions and 3 deletions

View File

@ -40,8 +40,9 @@ namespace {
base::options::toggle OptionForceWaylandFractionalScaling({
.id = kOptionForceWaylandFractionalScaling,
.name = "Force enable fractional-scale-v1",
.description = "Enable fractional-scale-v1 on Wayland without "
.name = "Enable xdg-output fractional scaling",
.description = "Enable xdg-output based fractional scaling on Wayland. "
"This works without fractional-scale-v1 and without "
"precise High DPI scaling. "
"Requires Qt with Desktop App Toolkit patches.",
.scope = [] {

View File

@ -54,7 +54,7 @@ FROM builder AS patches
RUN git init patches \
&& cd patches \
&& git remote add origin {{ GIT }}/desktop-app/patches.git \
&& git fetch --depth=1 origin 9c97723dce353833f54d644d0403b047ee148f6e \
&& git fetch --depth=1 origin 8b95f2787ee69f3ff16a62c68b39bb8bb3d0fa68 \
&& git reset --hard FETCH_HEAD \
&& rm -rf .git