Skip to content
Commit 7802d25b 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


(cherry picked from commit f2df2aa0)
parent e148af94
Pipeline #254265 failed with stage
in 30 minutes and 16 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