diff options
author | Jonas Ã…dahl <jadahl@gmail.com> | 2020-02-26 10:14:52 +0100 |
---|---|---|
committer | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2020-06-10 18:54:50 +0000 |
commit | c3fc6025b17eda210c5ad172dad229c929a34a67 (patch) | |
tree | e72dd4376b1deb96df008917e4613163c61612c9 /src/backends/meta-monitor-manager-dummy.c | |
parent | 1406348be4c7cdbbc1f0481c120cad976ecad2a3 (diff) | |
download | mutter-c3fc6025b17eda210c5ad172dad229c929a34a67.tar.gz |
crtc: Move all_transforms field into instance private
Now set as a property during construction. Only actually set by the
Xrandr backend, as it's the only one currently not supporting all
transforms, which is the default.
While at it, move the 'ALL_TRANFORMS' macro to meta-monitor-tranforms.h.
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1287
Diffstat (limited to 'src/backends/meta-monitor-manager-dummy.c')
-rw-r--r-- | src/backends/meta-monitor-manager-dummy.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/backends/meta-monitor-manager-dummy.c b/src/backends/meta-monitor-manager-dummy.c index 6547f9dcd..3c59f6860 100644 --- a/src/backends/meta-monitor-manager-dummy.c +++ b/src/backends/meta-monitor-manager-dummy.c @@ -36,8 +36,6 @@ #include "backends/meta-output.h" #include "meta/util.h" -#define ALL_TRANSFORMS ((1 << (META_MONITOR_TRANSFORM_FLIPPED_270 + 1)) - 1) - #define MAX_MONITORS 5 #define MAX_OUTPUTS (MAX_MONITORS * 2) #define MAX_CRTCS (MAX_MONITORS * 2) @@ -203,7 +201,6 @@ append_monitor (MetaMonitorManager *manager, "id", g_list_length (*crtcs) + 1, "gpu", gpu, NULL); - crtc->all_transforms = ALL_TRANSFORMS; *crtcs = g_list_append (*crtcs, crtc); number = g_list_length (*outputs) + 1; @@ -298,7 +295,6 @@ append_tiled_monitor (MetaMonitorManager *manager, "id", g_list_length (*crtcs) + i + 1, "gpu", gpu, NULL); - crtc->all_transforms = ALL_TRANSFORMS; new_crtcs = g_list_append (new_crtcs, crtc); } *crtcs = g_list_concat (*crtcs, new_crtcs); |