From f98cbea8b33356a0de1f777c3a862ecbf163cfd3 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Mon, 9 Nov 2009 17:49:10 -0500 Subject: SetScreenConfigAndRate: Document error handling better Signed-off-by: Adam Jackson Reviewed-by: Jamey Sharp --- src/XrrConfig.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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; -- cgit v1.2.3