[mutter] wayland/surface: Repick when effects are complete



commit f97930eaf5929b6537d4611758ec2a4c0bcfffe1
Author: Olivier Fourdan <ofourdan redhat com>
Date:   Wed Jan 29 15:20:46 2020 +0100

    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

 src/wayland/meta-wayland-surface.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c
index c991d6553..2b01a2acb 100644
--- a/src/wayland/meta-wayland-surface.c
+++ b/src/wayland/meta-wayland-surface.c
@@ -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 *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]