boxes: Move Rectangle.is_adjacent_to to Mtk

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3501>
This commit is contained in:
Bilal Elmoussaoui
2024-01-06 19:40:18 +01:00
committed by Marge Bot
parent fcc8cfff11
commit 6f9e75b6f2
8 changed files with 62 additions and 63 deletions

View File

@ -1898,8 +1898,8 @@ has_adjacent_neighbour (MetaMonitorsConfig *config,
if (logical_monitor_config == other_logical_monitor_config)
continue;
if (meta_rectangle_is_adjacent_to (&logical_monitor_config->layout,
&other_logical_monitor_config->layout))
if (mtk_rectangle_is_adjacent_to (&logical_monitor_config->layout,
&other_logical_monitor_config->layout))
return TRUE;
}