From 35f847ac6dc237c23344038294fc0395ce40f718 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= Date: Sun, 3 May 2020 17:55:28 +0200 Subject: [PATCH] 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 edc2eb772..88e84b396 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