D6099: Fix Aurorae decorations with non integer DPI

2017-06-05 Thread David Edmundson
This revision was automatically updated to reflect the committed changes. Closed by commit R108:5091feb8f603: Fix Aurorae decorations with non integer DPI (authored by davidedmundson). REPOSITORY R108 KWin CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D6099?vs=15155&id=15158 REVISIO

D6099: Fix Aurorae decorations with non integer DPI

2017-06-05 Thread Marco Martin
mart accepted this revision. mart added a comment. This revision is now accepted and ready to land. +1, this should fix https://bugs.kde.org/show_bug.cgi?id=380524 sorry for the introduced bug REPOSITORY R108 KWin BRANCH xdgv6 REVISION DETAIL https://phabricator.kde.org/D6099 To: dav

D6099: Fix Aurorae decorations with non integer DPI

2017-06-05 Thread David Edmundson
davidedmundson created this revision. Restricted Application added a project: KWin. Restricted Application added subscribers: KWin, kwin, plasma-devel. REVISION 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 Auro