summaryrefslogtreecommitdiff
path: root/libmate-desktop/mate-rr-private.h
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-11-08 00:59:16 +0100
committerinfirit <[email protected]>2014-11-28 08:51:50 +0100
commitfd55cee48a6fa2fd5ee312923abe2c2893f519f8 (patch)
tree21bae779443090c3a10ac6522c9c5c5219b7b1f7 /libmate-desktop/mate-rr-private.h
parent6d6ea55cd7f962fc7d1b7a773d716552c8d4e36b (diff)
downloadmate-desktop-fd55cee48a6fa2fd5ee312923abe2c2893f519f8.tar.bz2
mate-desktop-fd55cee48a6fa2fd5ee312923abe2c2893f519f8.tar.xz
Turn GnomeRRConfig and GnomeOutputInfo into GObjects
Based on gnome-desktop commits: 1d1f8ef64f404eccb29d384a75939701327e8e77 2c7a2e90fee98ff61e530098bc962a65dec670bc 7436f759bec00d87f597ef0b6945da8fa8969e85 From: Giovanni Campagna <[email protected]> Gnome Bug: https://bugzilla.gnome.org/show_bug.cgi?id=630913
Diffstat (limited to 'libmate-desktop/mate-rr-private.h')
-rw-r--r--libmate-desktop/mate-rr-private.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/libmate-desktop/mate-rr-private.h b/libmate-desktop/mate-rr-private.h
index ebb6417..74bb9c4 100644
--- a/libmate-desktop/mate-rr-private.h
+++ b/libmate-desktop/mate-rr-private.h
@@ -47,4 +47,34 @@ struct MateRRScreenPrivate
Atom connector_type_atom;
};
+struct MateRROutputInfoPrivate
+{
+ char * name;
+
+ gboolean on;
+ int width;
+ int height;
+ int rate;
+ int x;
+ int y;
+ MateRRRotation rotation;
+
+ gboolean connected;
+ gchar vendor[4];
+ guint product;
+ guint serial;
+ double aspect;
+ int pref_width;
+ int pref_height;
+ char * display_name;
+ gboolean primary;
+};
+
+struct MateRRConfigPrivate
+{
+ gboolean clone;
+ MateRRScreen *screen;
+ MateRROutputInfo **outputs;
+};
+
#endif