crtc-xrandr: Compare right coordinate when checking assignment
Compare x with x, and y with y, not y with x. Fixes an issue where only changing the scale doesn't actually apply the new scale. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1119
This commit is contained in:
parent
531a195cf1
commit
d2a12ee0fa
@ -195,7 +195,7 @@ meta_crtc_xrandr_is_assignment_changed (MetaCrtc *crtc,
|
||||
if (crtc_xrandr->rect.x != (int) roundf (crtc_info->layout.origin.x))
|
||||
return TRUE;
|
||||
|
||||
if (crtc_xrandr->rect.y != (int) roundf (crtc_info->layout.origin.x))
|
||||
if (crtc_xrandr->rect.y != (int) roundf (crtc_info->layout.origin.y))
|
||||
return TRUE;
|
||||
|
||||
if (crtc_xrandr->transform != crtc_info->transform)
|
||||
|
Loading…
Reference in New Issue
Block a user