mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-02 00:25:58 +01:00
mark blur dirty on monitor damage
This commit is contained in:
parent
024752bbe3
commit
523023aec7
1 changed files with 3 additions and 0 deletions
|
@ -711,6 +711,9 @@ void CHyprRenderer::damageMonitor(CMonitor* pMonitor) {
|
||||||
wlr_box damageBox = {0, 0, pMonitor->vecPixelSize.x, pMonitor->vecPixelSize.y};
|
wlr_box damageBox = {0, 0, pMonitor->vecPixelSize.x, pMonitor->vecPixelSize.y};
|
||||||
wlr_output_damage_add_box(pMonitor->damage, &damageBox);
|
wlr_output_damage_add_box(pMonitor->damage, &damageBox);
|
||||||
|
|
||||||
|
// TODO: this should NOT be required here.
|
||||||
|
g_pHyprOpenGL->markBlurDirtyForMonitor(pMonitor);
|
||||||
|
|
||||||
static auto *const PLOGDAMAGE = &g_pConfigManager->getConfigValuePtr("debug:log_damage")->intValue;
|
static auto *const PLOGDAMAGE = &g_pConfigManager->getConfigValuePtr("debug:log_damage")->intValue;
|
||||||
|
|
||||||
if (*PLOGDAMAGE)
|
if (*PLOGDAMAGE)
|
||||||
|
|
Loading…
Reference in a new issue