Skip to content

Cache the client and frame areas

Olivier Fourdan requested to merge ofourdan/mutter:cache-size into master

With Xwayland, the shape region is recomputed and reapplied even when the actor is frozen to prevent the black shadows effect.

However, while recomputing the shape region, the current client size is taken into account, rather than the size when the client was frozen, which is ahead of the actual client size using the NET_WM_SYNC protocol.

Keep the current client area and frame rect to reuse them when the X11 window actor is frozen for rebuilding the client mask texture.

Closes: #1007 (closed)

Merge request reports