monitor-manager/x11: Don't complain about 'normal' transform
The 'normal' transform has the value 0, so the g_warn_if_fail() expression failed. Correct it so that it doesn't complain when no transform is checked. https://bugzilla.gnome.org/show_bug.cgi?id=777732
This commit is contained in:
parent
e8a62861c9
commit
ab04286c6b
@ -1774,7 +1774,7 @@ meta_monitor_manager_xrandr_is_transform_handled (MetaMonitorManager *manager,
|
|||||||
MetaCrtc *crtc,
|
MetaCrtc *crtc,
|
||||||
MetaMonitorTransform transform)
|
MetaMonitorTransform transform)
|
||||||
{
|
{
|
||||||
g_warn_if_fail (crtc->all_transforms & transform);
|
g_warn_if_fail ((crtc->all_transforms & transform) == transform);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user