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
This commit is contained in:
parent
abdbc14ca8
commit
35f847ac6d
@ -1613,10 +1613,6 @@ meta_wayland_surface_init (MetaWaylandSurface *surface)
|
|||||||
surface->subsurface_branch_node = g_node_new (surface);
|
surface->subsurface_branch_node = g_node_new (surface);
|
||||||
surface->subsurface_leaf_node =
|
surface->subsurface_leaf_node =
|
||||||
g_node_prepend_data (surface->subsurface_branch_node, surface);
|
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
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user