kwin/plugins/kdecorations/aurorae
David Edmundson 5091feb8f6 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
2017-06-05 10:50:01 +01:00
..
src Fix Aurorae decorations with non integer DPI 2017-06-05 10:50:01 +01:00
themes SVN_SILENT made messages (.desktop file) - always resolve ours 2017-03-25 04:37:53 +01:00
AUTHORS
CMakeLists.txt
README
theme-description
TODO

Aurorae is a themeable window decoration for KWin.

It supports theme files consisting of several SVG files for decoration and buttons. Themes can be
installed and selected directly in the configuration module of KWin decorations.

Please have a look at theme-description on how to write a theme file.