[mutter] wayland/surface: Don't update outputs on all geometry changes



commit 35f847ac6dc237c23344038294fc0395ce40f718
Author: Jonas Dreßler <verdre v0yd nl>
Date:   Sun May 3 17:55:28 2020 +0200

    wayland/surface: Don't update outputs on all geometry changes
    
    Since we now listen to the "stage-views-on-changed" signal (which
    "catches" all the changes we want) on MetaWaylandActorSurfaces for
    updating the wl_outputs the surface is on, we no longer need to call
    meta_wayland_surface_update_outputs_recursively() on all geometry
    changes, so remove that signal handler.
    
    https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1358

 src/wayland/meta-wayland-surface.c | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c
index edc2eb772b..88e84b396f 100644
--- a/src/wayland/meta-wayland-surface.c
+++ b/src/wayland/meta-wayland-surface.c
@@ -1613,10 +1613,6 @@ meta_wayland_surface_init (MetaWaylandSurface *surface)
   surface->subsurface_branch_node = g_node_new (surface);
   surface->subsurface_leaf_node =
     g_node_prepend_data (surface->subsurface_branch_node, surface);
-
-  g_signal_connect (surface, "geometry-changed",
-                    G_CALLBACK (meta_wayland_surface_update_outputs_recursively),
-                    NULL);
 }
 
 static void


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