wayland/surface: Repick when effects are complete

When mapping/unmapping windows, an animation may be played which can
change the actual actor size and location, hence defeating picking if
done too early.

Make sure we repick when the affects are completed, once the actor is
sized and placed.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/1026
This commit is contained in:
Olivier Fourdan 2020-01-29 15:20:46 +01:00
parent 5e07478843
commit f97930eaf5

View File

@ -1390,6 +1390,7 @@ window_actor_effects_completed (MetaWindowActor *window_actor,
MetaWaylandSurface *surface)
{
meta_wayland_surface_update_outputs_recursively (surface);
meta_wayland_compositor_repick (surface->compositor);
}
MetaWaylandSurface *