[mutter] monitor-config-manager-kms: Fix is_transform_handled
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] monitor-config-manager-kms: Fix is_transform_handled
- Date: Fri, 22 Sep 2017 18:10:34 +0000 (UTC)
commit 7e3a780dcdabaff6ff94fddec7995681029b2f9a
Author: Hans de Goede <hdegoede redhat com>
Date: Sun Sep 17 16:21:46 2017 +0200
monitor-config-manager-kms: Fix is_transform_handled
meta_monitor_manager_kms_is_transform_handled should checked the
transform passed as function argument, not the current crtc transform.
https://bugzilla.gnome.org/show_bug.cgi?id=787836
src/backends/native/meta-monitor-manager-kms.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/backends/native/meta-monitor-manager-kms.c b/src/backends/native/meta-monitor-manager-kms.c
index 6507e51..23a79ae 100644
--- a/src/backends/native/meta-monitor-manager-kms.c
+++ b/src/backends/native/meta-monitor-manager-kms.c
@@ -1782,7 +1782,7 @@ meta_monitor_manager_kms_is_transform_handled (MetaMonitorManager *manager,
{
MetaCrtcKms *crtc_kms = crtc->driver_private;
- if ((1 << crtc->transform) & crtc_kms->all_hw_transforms)
+ if ((1 << transform) & crtc_kms->all_hw_transforms)
return TRUE;
else
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]