[PATCH 3/5] GetScreenSizeRange: Document funky return code in the header

Adam Jackson ajax at redhat.com
Mon Nov 9 14:56:23 PST 2009


Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 include/X11/extensions/Xrandr.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/X11/extensions/Xrandr.h b/include/X11/extensions/Xrandr.h
index a411321..6b756a7 100644
--- a/include/X11/extensions/Xrandr.h
+++ b/include/X11/extensions/Xrandr.h
@@ -197,6 +197,7 @@ Time XRRTimes (Display *dpy, int screen, Time *config_timestamp);
 
 /* Version 1.2 additions */
 
+/* despite returning a Status, this returns 1 for success */
 Status
 XRRGetScreenSizeRange (Display *dpy, Window window,
 		       int *minWidth, int *minHeight,
-- 
1.6.5.2



More information about the xorg-devel mailing list