summaryrefslogtreecommitdiff
path: root/src/backends/meta-monitor-config-manager.h
diff options
context:
space:
mode:
authorJonas Ådahl <jadahl@gmail.com>2017-03-21 14:17:18 +0800
committerJonas Ådahl <jadahl@gmail.com>2017-04-07 22:30:49 +0800
commit472a434212f7f22234c2886eacb0a5d2a6ee85c9 (patch)
tree19d4c2bbf1feaa23e9a49d83222414e519f17efc /src/backends/meta-monitor-config-manager.h
parent7c226462e048e4b72a613ccb04c22f2aaf1dfd30 (diff)
downloadmutter-472a434212f7f22234c2886eacb0a5d2a6ee85c9.tar.gz
monitor-config-manager: Support logical monitor transforms
Add support for rotated monitors. This is done per logical monitor, as every monitor assigned to a logical monitor must be transformed in the same way. This includes being transformed on the same level; e.g. if the backend does not support transforming any monitor of a logical monitor natively, then all monitors will be transformed using the offscreen intermediate framebuffer. https://bugzilla.gnome.org/show_bug.cgi?id=777732
Diffstat (limited to 'src/backends/meta-monitor-config-manager.h')
-rw-r--r--src/backends/meta-monitor-config-manager.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backends/meta-monitor-config-manager.h b/src/backends/meta-monitor-config-manager.h
index de7911413..6e5c3e2cb 100644
--- a/src/backends/meta-monitor-config-manager.h
+++ b/src/backends/meta-monitor-config-manager.h
@@ -40,6 +40,7 @@ typedef struct _MetaLogicalMonitorConfig
{
MetaRectangle layout;
GList *monitor_configs;
+ MetaMonitorTransform transform;
int scale;
gboolean is_primary;
gboolean is_presentation;