diff options
author | Adam Jackson <ajax@redhat.com> | 2009-11-09 17:48:22 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2009-11-10 15:31:05 -0500 |
commit | a8af918c0db758a667345b7c3055075124197f6c (patch) | |
tree | fb51aadd97592d4fe60b8a9411e50b39182c293d | |
parent | 7f463b2a2221065c03b6122c0cffd2fa5cb13427 (diff) |
GetOutputProperty: Return the error code, not BadRequest
Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
-rw-r--r-- | src/XrrProperty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XrrProperty.c b/src/XrrProperty.c index 9554f9a..1a125b2 100644 --- a/src/XrrProperty.c +++ b/src/XrrProperty.c @@ -272,7 +272,7 @@ XRRGetOutputProperty (Display *dpy, RROutput output, { UnlockDisplay (dpy); SyncHandle (); - return 1; + return ((xError *)&rep)->errorCode; } *prop = (unsigned char *) NULL; |