1
0
Fork 0

window-actor-x11: Invalidate paint volume when shadow changes

The shadow size is factored into the paint volume MetaWindowActorX11
returns in its get_paint_volume() vfunc override, so we should
invalidate the paint volume every time that shadow might change.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1829>
This commit is contained in:
Jonas Dreßler 2021-04-15 15:33:56 +02:00 committed by Marge Bot
parent 2be30a3482
commit 99abb086fb

View file

@ -1011,6 +1011,7 @@ invalidate_shadow (MetaWindowActorX11 *actor_x11)
return;
clutter_actor_queue_redraw (CLUTTER_ACTOR (actor_x11));
clutter_actor_invalidate_paint_volume (CLUTTER_ACTOR (actor_x11));
}
static void