diff options
author | marha <marha@users.sourceforge.net> | 2010-09-30 09:49:59 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-09-30 09:49:59 +0000 |
commit | f952d0d771de6d9b8ecc3cbbe3624203723bbb25 (patch) | |
tree | 6dd2d11e017529c66f2489000136201829dc3b9d /xorg-server/randr/rroutput.c | |
parent | f6ba83c963bf48dfa349ab8c54d1968c4c69f7b8 (diff) | |
download | vcxsrv-f952d0d771de6d9b8ecc3cbbe3624203723bbb25.tar.gz vcxsrv-f952d0d771de6d9b8ecc3cbbe3624203723bbb25.tar.bz2 vcxsrv-f952d0d771de6d9b8ecc3cbbe3624203723bbb25.zip |
xserver libX11 xkeyboard-config git update 30/9/2010
Diffstat (limited to 'xorg-server/randr/rroutput.c')
-rw-r--r-- | xorg-server/randr/rroutput.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/xorg-server/randr/rroutput.c b/xorg-server/randr/rroutput.c index 1fd1f1846..8f661a383 100644 --- a/xorg-server/randr/rroutput.c +++ b/xorg-server/randr/rroutput.c @@ -418,10 +418,19 @@ RROutputInit (void) RROutputType = CreateNewResourceType (RROutputDestroyResource, "OUTPUT");
if (!RROutputType)
return FALSE;
- SetResourceTypeErrorValue(RROutputType, RRErrorBase + BadRROutput);
+
return TRUE;
}
+/*
+ * Initialize output type error value
+ */
+void
+RROutputInitErrorValue(void)
+{
+ SetResourceTypeErrorValue(RROutputType, RRErrorBase + BadRROutput);
+}
+
#define OutputInfoExtra (SIZEOF(xRRGetOutputInfoReply) - 32)
int
|