diff options
author | Adam Jackson <ajax@redhat.com> | 2009-11-09 17:49:10 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2009-11-10 15:31:09 -0500 |
commit | f98cbea8b33356a0de1f777c3a862ecbf163cfd3 (patch) | |
tree | ac24a8987717f4298caa6aee67222c5fe6ce5aa6 /src/XrrConfig.c | |
parent | a8af918c0db758a667345b7c3055075124197f6c (diff) |
SetScreenConfigAndRate: Document error handling better
Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
Diffstat (limited to 'src/XrrConfig.c')
-rw-r--r-- | 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; |