Skip to content

cursor-renderer-native: Take panel-orientation into account for sprite transform

When calculating the transform we should apply to the cursor sprite before uploading it to the cursor plane, we must also take into account non upright mounted LCD panels.

Otherwise the cursor ends up 90 degrees rotated on devices where the LCD panel is mounted 90 degrees rotated in its enclosure.

This commit fixes this by calling meta_monitor_logical_to_crtc_transform in get_common_crtc_sprite_transform_for_logical_monitors to adjust the transform for each Monitor in the LogicalMonitor.

Fixes: #1123 (closed)

Merge request reports