From a667469601294c9845b86545b7b1b09617a04cae Mon Sep 17 00:00:00 2001 From: Giulio Camuffo Date: Tue, 21 Apr 2015 21:09:50 +0300 Subject: Use a FontSmoothingGamma value of 1.0 This is what the xcb plugin does, be consistent with it. Change-Id: I5befa2de3ff514ca0c9196eb7137682586cec126 Reviewed-by: Laszlo Agocs --- src/client/qwaylandintegration.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/client/qwaylandintegration.cpp b/src/client/qwaylandintegration.cpp index 050feba73..9526aec4c 100644 --- a/src/client/qwaylandintegration.cpp +++ b/src/client/qwaylandintegration.cpp @@ -226,6 +226,13 @@ QVariant QWaylandIntegration::styleHint(StyleHint hint) const if (hint == ShowIsFullScreen && mDisplay->windowManagerIntegration()) return mDisplay->windowManagerIntegration()->showIsFullScreen(); + switch (hint) { + case QPlatformIntegration::FontSmoothingGamma: + return qreal(1.0); + default: + break; + } + return QPlatformIntegration::styleHint(hint); } -- cgit v1.2.3