X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxcb.h;h=204164ad410c470554036f5e095abe88913f90be;hb=53971ea183d9d1dcfbaec18b135e49c9c118fabb;hp=27f57b8abf6d60852f1646dbeff4c1acb8b58805;hpb=0d648ac0ab3a2d457284644e677fd2ed612f3e7c;p=free-sw%2Fxcb%2Flibxcb diff --git a/src/xcb.h b/src/xcb.h index 27f57b8..204164a 100644 --- a/src/xcb.h +++ b/src/xcb.h @@ -32,6 +32,8 @@ /* TODO: check for stdint in config? (HAVE_STDINT) fallback? */ #include +/* FIXME: these names conflict with those defined in Xmd.h. */ +#ifndef XMD_H typedef uint8_t BYTE; typedef uint8_t BOOL; typedef uint8_t CARD8; @@ -40,6 +42,7 @@ typedef uint32_t CARD32; typedef int8_t INT8; typedef int16_t INT16; typedef int32_t INT32; +#endif /* XMD_H */ #include #include @@ -81,6 +84,12 @@ extern "C" { #define XCB_TYPE_PAD(T,I) (-(I) & (sizeof(T) > 4 ? 3 : sizeof(T) - 1)) +/** XCBNone is the universal null resource or null atom parameter value for many core X requests */ +#define XCBNone 0L + +/** XCBCopyFromParent can be used for many CreateWindow parameters */ +#define XCBCopyFromParent 0L + /* Opaque structures */ /**