summaryrefslogtreecommitdiff
path: root/libmate-desktop/mate-rr.c
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-09-02 14:57:31 +0300
committerMonsta <[email protected]>2015-09-02 16:03:38 +0300
commit8d1554eac921b5d65b6977614146eef2ca136f8a (patch)
tree986d542b8bbb9f3237c477a66d415f4f092d073c /libmate-desktop/mate-rr.c
parent86bf08b6add93ffc59f0ad8557bc31b4f0fee1f7 (diff)
downloadmate-desktop-8d1554eac921b5d65b6977614146eef2ca136f8a.tar.bz2
mate-desktop-8d1554eac921b5d65b6977614146eef2ca136f8a.tar.xz
mate-rr: actually implement mate_rr_output_get_possible_crtcs
ported from https://git.gnome.org/browse/gnome-desktop/commit?id=11eb5b0d93e46d2d63e1b108b0cf659ab8f30c77
Diffstat (limited to 'libmate-desktop/mate-rr.c')
-rw-r--r--libmate-desktop/mate-rr.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libmate-desktop/mate-rr.c b/libmate-desktop/mate-rr.c
index e00f1b1..e654122 100644
--- a/libmate-desktop/mate-rr.c
+++ b/libmate-desktop/mate-rr.c
@@ -1434,6 +1434,14 @@ mate_rr_output_get_crtc (MateRROutput *output)
return output->current_crtc;
}
+MateRRCrtc **
+mate_rr_output_get_possible_crtcs (MateRROutput *output)
+{
+ g_return_val_if_fail (output != NULL, NULL);
+
+ return output->possible_crtcs;
+}
+
/* Returns NULL if the ConnectorType property is not available */
const char *
mate_rr_output_get_connector_type (MateRROutput *output)