[PATCH 2/5] SetScreenConfigAndRate: Document error handling better
Adam Jackson
ajax at redhat.com
Mon Nov 9 14:56:22 PST 2009
Signed-off-by: Adam Jackson <ajax at redhat.com>
---
src/XrrConfig.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/XrrConfig.c b/src/XrrConfig.c
index db7a1ae..34ff3ef 100644
--- a/src/XrrConfig.c
+++ b/src/XrrConfig.c
@@ -409,6 +409,7 @@ Status XRRSetScreenConfigAndRate (Display *dpy,
(void) _XReply (dpy, (xReply *) &rep, 0, xTrue);
+ /* actually .errorCode in struct xError */
if (rep.status == RRSetConfigSuccess) {
/* if we succeed, set our view of reality to what we set it to */
config->config_timestamp = rep.newConfigTimestamp;
--
1.6.5.2
More information about the xorg-devel
mailing list