some window fadeout fixes

This commit is contained in:
vaxerski 2022-07-30 22:07:40 +02:00
parent 036be18bf5
commit adeab98831

View file

@ -736,7 +736,7 @@ void CHyprOpenGLImpl::makeWindowSnapshot(CWindow* pWindow) {
// this is temporary, doesnt mess with the actual wlr damage // this is temporary, doesnt mess with the actual wlr damage
pixman_region32_t fakeDamage; pixman_region32_t fakeDamage;
pixman_region32_init(&fakeDamage); pixman_region32_init(&fakeDamage);
pixman_region32_union_rect(&fakeDamage, &fakeDamage, 0, 0, (int)PMONITOR->vecSize.x, (int)PMONITOR->vecSize.y); pixman_region32_union_rect(&fakeDamage, &fakeDamage, 0, 0, (int)PMONITOR->vecTransformedSize.x, (int)PMONITOR->vecTransformedSize.y);
begin(PMONITOR, &fakeDamage, true); begin(PMONITOR, &fakeDamage, true);