diff options
author | Joel Bosveld <Joel.Bosveld@gmail.com> | 2009-06-24 20:52:54 +0800 |
---|---|---|
committer | Joel Bosveld <Joel.Bosveld@gmail.com> | 2009-06-24 20:52:54 +0800 |
commit | d3ffc43b249a6e410cf029bcc00048e1e256b2a2 (patch) | |
tree | 8400640210b20bbde1b55ca088fe3d97bb567330 | |
parent | 01751f36c56ea46dc22864d79acbb05aa6cb861b (diff) |
Allow triangles to have coords in window but act as if they don't (for XYToWin)
The reason for this is to allow for proper handling of transformations such as splitting a window and cutting a hole out. In those circumstances, we would like the hole the have coordinates in the window (for proper behaviour during grabs), but we would also like for it to appear as not part of the window in XYToWindow.
-rw-r--r-- | compositeproto.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compositeproto.h b/compositeproto.h index 9d3769c..ac88bdd 100644 --- a/compositeproto.h +++ b/compositeproto.h @@ -193,7 +193,9 @@ typedef struct { Window window B32; CARD8 flags; CARD8 pad1; - CARD16 total B16; + CARD16 nNorm B16; + CARD16 nGrab B16; + CARD16 pad2 B16; } xCompositeSetTriangularCoordinateMeshReq; #define sz_xCompositeSetTriangularCoordinateMeshReq sizeof(xCompositeSetTriangularCoordinateMeshReq) |