Skip to content
Commit f2df2aa0 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

effects/blur: Fix clipping when sliding virtual desktops

When the slide effect paints a virtual desktop, it translates both
windows and the clip region.

Since the clip region slides too, the blur effect needs to be careful.

At the moment, the blur effect computes the blur region as follows:

- get the value of the blur region hint from client, map it to the
  global coordinate space, and intersect it with the clip region
- apply translation and scale to the blur region
- pass the blur region to doBlur()

However, the translation transform must be applied before intersecting
the blur region with the clip region.

BUG: 460382
parent 12ee810f
Pipeline #247583 passed with stage
in 12 minutes and 41 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment