mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-22 23:49:49 +01:00
fix the damageBox in damageMonitor
This commit is contained in:
parent
d78b53968f
commit
a2b8e3b34e
1 changed files with 1 additions and 1 deletions
|
@ -846,7 +846,7 @@ void CHyprRenderer::damageMonitor(CMonitor* pMonitor) {
|
|||
if (g_pCompositor->m_bUnsafeState || pMonitor->isMirror())
|
||||
return;
|
||||
|
||||
wlr_box damageBox = {0, 0, pMonitor->vecPixelSize.x, pMonitor->vecPixelSize.y};
|
||||
wlr_box damageBox = { 0, 0, INT16_MAX, INT16_MAX };
|
||||
pMonitor->addDamage(&damageBox);
|
||||
|
||||
static auto *const PLOGDAMAGE = &g_pConfigManager->getConfigValuePtr("debug:log_damage")->intValue;
|
||||
|
|
Loading…
Reference in a new issue