mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
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:
parent
2be30a3482
commit
99abb086fb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user