QGuiApplication::primaryScreen()->logicalDotsPerInch() sometimes reports incorrect scale value, for example 95.951 (or even lower) instead of 96.0 at 1x scale and this caused to simply darken blurred areas instead of noising them.
This patch sets a minimum 1x scale for the noise texture, because realistically we will never be below that.
Details
Details
Diff Detail
Diff Detail
- Repository
- R108 KWin
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
@davidedmundson I usually create the diff in acranist and when it's uploaded I edit it on the phab website.
You were just too fast, I didn't have enought time :)