zzag added a comment.
In D12804#260617 <https://phabricator.kde.org/D12804#260617>, @anemeth wrote: > In D12804#260610 <https://phabricator.kde.org/D12804#260610>, @hpereiradacosta wrote: > > > Also: how does it work with multiple monitors ? (I see you get the info from ::primaryScreen, not for the screen the window is actually on ? > > > As far as I know KWin X11 does not allow different scaling factors per monitor, so it should be fine. > And on Wayland `QGuiApplication::primaryScreen()->logicalDotsPerInch()` is always 96 so this only affects X11 IIRC, decoration renderer sets device pixel ratio, so in theory, you should not multiply frame radius by dpr. REPOSITORY R31 Breeze REVISION DETAIL https://phabricator.kde.org/D12804 To: anemeth, #breeze, #vdg, hpereiradacosta, davidedmundson Cc: zzag, davidedmundson, ngraham, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart