monitor-manager: Remove is_transform_handled()

There was one user, but it got changed to bypass the monitor manager and
talk directly to MetaCrtcNative.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3428>
This commit is contained in:
Jonas Ådahl
2023-11-28 22:14:07 +01:00
committed by Marge Bot
parent cc7bca073b
commit 48c7caadd2
4 changed files with 2 additions and 37 deletions

View File

@ -1279,9 +1279,8 @@ calculate_view_transform (MetaMonitorManager *monitor_manager,
crtc_transform =
meta_output_logical_to_crtc_transform (output, logical_monitor->transform);
if (meta_monitor_manager_is_transform_handled (monitor_manager,
crtc,
crtc_transform))
if (meta_crtc_native_is_transform_handled (META_CRTC_NATIVE (crtc),
crtc_transform))
return META_MONITOR_TRANSFORM_NORMAL;
else
return crtc_transform;