diff options
author | Adam Jackson <ajax@redhat.com> | 2010-11-15 17:09:31 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2011-02-09 18:06:51 -0500 |
commit | 9760b4bdd1f9fdd6a33b9f876c4a835ed969aa84 (patch) | |
tree | e16cb640d16f9b0872f1acb73c5cef0a9a621f5e /xfixesproto.h | |
parent | 29324d36b3aa6697268c9b51522afcafc2244361 (diff) |
fixesproto v5: Pointer barriers
v3: Review fixes:
- INT16 not CARD16 for coordinates
- BadDevice not BadMatch
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'xfixesproto.h')
-rw-r--r-- | xfixesproto.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/xfixesproto.h b/xfixesproto.h index ed872d1..fcf409a 100644 --- a/xfixesproto.h +++ b/xfixesproto.h @@ -1,5 +1,6 @@ /* * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. + * Copyright 2010 Red Hat, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -500,6 +501,38 @@ typedef struct { #define sz_xXFixesShowCursorReq sizeof(xXFixesShowCursorReq) +/*************** Version 5.0 ******************/ + +#define Barrier CARD32 + +typedef struct { + CARD8 reqType; + CARD8 xfixesReqType; + CARD16 length B16; + Barrier barrier B32; + Window window B32; + INT16 x1 B16; + INT16 y1 B16; + INT16 x2 B16; + INT16 y2 B16; + CARD32 directions; + CARD16 pad B16; + CARD16 num_devices B16; + /* array of CARD16 devices */ +} xXFixesCreatePointerBarrierReq; + +#define sz_xXFixesCreatePointerBarrierReq 28 + +typedef struct { + CARD8 reqType; + CARD8 xfixesReqType; + CARD16 length B16; + Barrier barrier B32; +} xXFixesDestroyPointerBarrierReq; + +#define sz_xXFixesDestroyPointerBarrierReq 8 + +#undef Barrier #undef Region #undef Picture #undef Window |