diff options
author | Keith Packard <keithp@keithp.com> | 2003-11-22 00:44:32 +0000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2003-11-22 00:44:32 +0000 |
commit | f92db7128c857b3925846a9c8519e9554a1c67e2 (patch) | |
tree | 326da04318110b283f8f038daa461dbc47031e0b /xfixesproto.h | |
parent | 804a9fda12f70e66feac5e45bc8293a7e436689b (diff) |
Eliminate offset arguments in combining operators, create separate CopyRegion and TranslateRegion requests.
Diffstat (limited to 'xfixesproto.h')
-rw-r--r-- | xfixesproto.h | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/xfixesproto.h b/xfixesproto.h index 8bdae6f..e6b2a7f 100644 --- a/xfixesproto.h +++ b/xfixesproto.h @@ -247,17 +247,25 @@ typedef struct { CARD8 reqType; CARD8 xfixesReqType; CARD16 length B16; + Region source B32; + Region destination B32; +} xXFixesCopyRegionReq; + +#define sz_xXFixesCopyRegionReq 12 + +typedef struct { + CARD8 reqType; + CARD8 xfixesReqType; + CARD16 length B16; Region source1 B32; - INT16 xOff1 B16, yOff1 B16; Region source2 B32; - INT16 xOff2 B16, yOff2 B16; Region destination B32; } xXFixesCombineRegionReq, xXFixesUnionRegionReq, xXFixesIntersectRegionReq, xXFixesSubtractRegionReq; -#define sz_xXFixesCombineRegionReq 24 +#define sz_xXFixesCombineRegionReq 16 #define sz_xXFixesUnionRegionReq sz_xXFixesCombineRegionReq #define sz_xXFixesIntersectRegionReq sz_xXFixesCombineRegionReq #define sz_xXFixesSubtractRegionReq sz_xXFixesCombineRegionReq @@ -267,14 +275,23 @@ typedef struct { CARD8 xfixesReqType; CARD16 length B16; Region source B32; - INT16 xOff B16, yOff B16; INT16 x B16, y B16; CARD16 width B16, height B16; Region destination B32; } xXFixesInvertRegionReq; -#define sz_xXFixesInvertRegionReq 24 +#define sz_xXFixesInvertRegionReq 20 + +typedef struct { + CARD8 reqType; + CARD8 xfixesReqType; + CARD16 length B16; + Region region B32; + INT16 dx B16, dy B16; +} xXFixesTranslateRegionReq; +#define sz_xXFixesTranslateRegionReq 12 + typedef struct { CARD8 reqType; CARD8 xfixesReqType; |