libXext: Changes to 'master'

Peter Hutterer whot at kemper.freedesktop.org
Mon Apr 11 18:10:28 PDT 2011


 include/X11/extensions/XShm.h |    8 ++++----
 man/XShm.man                  |   10 +++++-----
 src/XShm.c                    |    8 ++++----
 3 files changed, 13 insertions(+), 13 deletions(-)

New commits:
commit decc44349ba66eb82c2ed575e60e80c2c827633d
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Thu Jul 22 08:58:33 2010 +1000

    Correct XShm return values.
    
    XShmAttach, XShmDetach, XShmPutImage do not return a Status but 0 or 1.
    Though the man section for XShmAttach says "if all goes well, you will get a
    non-zero status, back" this is counter to the usage of Status in Xlib
    itself where 0 means Success and no-zero specifies the specific error.
    
    XShmPixmapFormat does not return a Status but the pixmap format or 0 on
    failure.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Reviewed-by: Adam Jackson <ajax at redhat.com>



More information about the xorg-commit mailing list