mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-11-27 10:15:26 +03:00
some window fadeout fixes
This commit is contained in:
parent
036be18bf5
commit
adeab98831
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user