aboutsummaryrefslogtreecommitdiffstats
path: root/unix/common/RandrGlue.h
diff options
context:
space:
mode:
authorPeter Åstrand (astrand) <astrand@cendio.se>2018-03-19 10:47:40 +0100
committerPeter Åstrand (astrand) <astrand@cendio.se>2018-04-09 11:03:57 +0200
commitd57acc34e7fe0960215fc65703020e2d53393d22 (patch)
treefcb83438851ff60161691e0e29b77be9af8d3e97 /unix/common/RandrGlue.h
parentffeda0767ff1c61c72627f4aacb1526764630161 (diff)
downloadtigervnc-d57acc34e7fe0960215fc65703020e2d53393d22.tar.gz
tigervnc-d57acc34e7fe0960215fc65703020e2d53393d22.zip
Make vncRandRGetOutputDimensions tolerant for disabled outputs
Return error if no CRTC.
Diffstat (limited to 'unix/common/RandrGlue.h')
-rw-r--r--unix/common/RandrGlue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/common/RandrGlue.h b/unix/common/RandrGlue.h
index 48ce3273..43c9b685 100644
--- a/unix/common/RandrGlue.h
+++ b/unix/common/RandrGlue.h
@@ -51,7 +51,7 @@ int vncRandRReconfigureOutput(int outputIdx, int x, int y,
int width, int height);
unsigned int vncRandRGetOutputId(int outputIdx);
-void vncRandRGetOutputDimensions(int outputIdx,
+int vncRandRGetOutputDimensions(int outputIdx,
int *x, int *y, int *width, int *height);
int vncRandRCreateOutputs(int extraOutputs);