mirror of
https://github.com/brl/mutter.git
synced 2025-03-25 20:53:54 +00:00

Since we're now connecting to one more signal of MetaWaylandOutput, keep signal connections in one place and move connecting the "output-destroyed" signal to surface_entered_output() and disconnecting it to surface_left_output(). This also allows us to use the "outputs_to_destroy_notify_id" as a simple set and rename it to "outputs". While at it, also use g_hash_table_destroy() instead of g_hash_table_unref() since destroy is more clear than unref and does the same thing in this case. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1230