summaryrefslogtreecommitdiff
path: root/libmate-desktop/mate-rr-output-info.c
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-09-02 16:40:34 +0300
committerMonsta <[email protected]>2015-09-02 16:40:34 +0300
commitb0aeb32b14f8768e65de4da4db713fafcacba718 (patch)
treed911bbf773eb35ea9029267b25b19be6c7b4e090 /libmate-desktop/mate-rr-output-info.c
parent8d1554eac921b5d65b6977614146eef2ca136f8a (diff)
downloadmate-desktop-b0aeb32b14f8768e65de4da4db713fafcacba718.tar.bz2
mate-desktop-b0aeb32b14f8768e65de4da4db713fafcacba718.tar.xz
mate-rr: annotation fixes
mostly ported from https://git.gnome.org/browse/gnome-desktop/commit?id=6f1368bbc7d6649ed9340806def01ff00c407121
Diffstat (limited to 'libmate-desktop/mate-rr-output-info.c')
-rw-r--r--libmate-desktop/mate-rr-output-info.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/libmate-desktop/mate-rr-output-info.c b/libmate-desktop/mate-rr-output-info.c
index 7e5a8ee..02ea16a 100644
--- a/libmate-desktop/mate-rr-output-info.c
+++ b/libmate-desktop/mate-rr-output-info.c
@@ -116,6 +116,16 @@ void mate_rr_output_info_get_geometry (MateRROutputInfo *self, int *x, int *y, i
*height = self->priv->height;
}
+/**
+ * mate_rr_output_info_set_geometry:
+ * @self: a #MateRROutputInfo
+ * @x: x offset for monitor
+ * @y: y offset for monitor
+ * @width: monitor width
+ * @height: monitor height
+ *
+ * Set the geometry for the monitor connected to the specified output.
+ */
void mate_rr_output_info_set_geometry (MateRROutputInfo *self, int x, int y, int width, int height)
{
g_return_if_fail (MATE_IS_RR_OUTPUT_INFO (self));