[PATCH 1/5] GetOutputProperty: Return the error code, not BadRequest
Adam Jackson
ajax at redhat.com
Mon Nov 9 14:56:21 PST 2009
Signed-off-by: Adam Jackson <ajax at redhat.com>
---
src/XrrProperty.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/XrrProperty.c b/src/XrrProperty.c
index 9554f9a..86eac73 100644
--- a/src/XrrProperty.c
+++ b/src/XrrProperty.c
@@ -272,7 +272,7 @@ XRRGetOutputProperty (Display *dpy, RROutput output,
{
UnlockDisplay (dpy);
SyncHandle ();
- return 1;
+ return rep.errorCode;
}
*prop = (unsigned char *) NULL;
--
1.6.5.2
More information about the xorg-devel
mailing list