3
0
mirror of https://github.com/hyprwm/Hyprland.git synced 2025-10-29 11:22:47 +00:00

renderer: round box in damageBox

This commit is contained in:
Vaxry 2025-10-15 00:37:07 +01:00
parent f324a3a564
commit 60529e810d
No known key found for this signature in database
GPG Key ID: 665806380871D640

View File

@ -1958,7 +1958,7 @@ void CHyprRenderer::damageBox(const CBox& box, bool skipFrameSchedule) {
continue; // don't damage mirrors traditionally
if (!skipFrameSchedule) {
CBox damageBox = box.copy().translate(-m->m_position).scale(m->m_scale);
CBox damageBox = box.copy().translate(-m->m_position).scale(m->m_scale).round();
m->addDamage(damageBox);
}
}