Diffusion KWin 5091feb8f603

Fix Aurorae decorations with non integer DPI

Authored by davidedmundson on Jun 5 2017, 9:50 AM.

Description

Fix Aurorae decorations with non integer DPI

Summary:
As noted by Thomas L we're casting the scaleFactor to an int far too
early, which in the worst case means we end up with Aurorare themes not
rendering.

This moves the rounding to where it's used per border.

BUG: 380524

Test Plan:
Forced Xft.DPI to 95 with xrdb. Confirmed that it was broken
Applied this patch. Got decoration again

Reviewers: Plasma, mart

Reviewed By: Plasma, mart

Subscribers: mart, rikmills, plasma-devel, kwin, KWin

Tags: KWin

Differential Revision: https://phabricator.kde.org/D6099

Details

Committed
davidedmundsonJun 5 2017, 9:50 AM
Reviewer
Plasma
Differential Revision
D6099: Fix Aurorae decorations with non integer DPI
Parents
R108:85ede03a57ab: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown