diff --git a/src/backends/x11/meta-monitor-manager-xrandr.c b/src/backends/x11/meta-monitor-manager-xrandr.c index ed4b841de..73842648f 100644 --- a/src/backends/x11/meta-monitor-manager-xrandr.c +++ b/src/backends/x11/meta-monitor-manager-xrandr.c @@ -1774,7 +1774,7 @@ meta_monitor_manager_xrandr_is_transform_handled (MetaMonitorManager *manager, MetaCrtc *crtc, MetaMonitorTransform transform) { - g_warn_if_fail (crtc->all_transforms & transform); + g_warn_if_fail ((crtc->all_transforms & transform) == transform); return TRUE; }