diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2017-10-31 01:54:47 +0100 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2018-02-26 02:38:53 +0100 |
commit | a667131e2846355b7b2099635761a79e22bcbe68 (patch) | |
tree | 16c659450b5354b729da8ac2cd6115a493bfd05b /nx-X11/include/extensions/xfixesproto.h | |
parent | 164263e1a12fc8a3a496739799cb60d547857f0a (diff) | |
download | nx-libs-a667131e2846355b7b2099635761a79e22bcbe68.tar.gz nx-libs-a667131e2846355b7b2099635761a79e22bcbe68.tar.bz2 nx-libs-a667131e2846355b7b2099635761a79e22bcbe68.zip |
Lift XFIXES to xorg-xserver-7.1/1.1.0 state (XFIXES 4.0)
Diffstat (limited to 'nx-X11/include/extensions/xfixesproto.h')
-rw-r--r-- | nx-X11/include/extensions/xfixesproto.h | 56 |
1 files changed, 53 insertions, 3 deletions
diff --git a/nx-X11/include/extensions/xfixesproto.h b/nx-X11/include/extensions/xfixesproto.h index b3f35e878..2cde20498 100644 --- a/nx-X11/include/extensions/xfixesproto.h +++ b/nx-X11/include/extensions/xfixesproto.h @@ -27,9 +27,7 @@ #include <nx-X11/Xmd.h> #include <nx-X11/extensions/xfixeswire.h> -#define _SHAPE_SERVER_ -#include <X11/extensions/shape.h> -#undef _SHAPE_SERVER_ +#include <nx-X11/extensions/shapeconst.h> #define Window CARD32 #define Drawable CARD32 @@ -462,6 +460,58 @@ typedef struct { #define sz_xXFixesExpandRegionReq 20 +/*************** Version 4.0 ******************/ + +typedef struct { + CARD8 reqType; + CARD8 xfixesReqType; + CARD16 length B16; + Window window B32; +} xXFixesHideCursorReq; + +#define sz_xXFixesHideCursorReq sizeof(xXFixesHideCursorReq) + +typedef struct { + CARD8 reqType; + CARD8 xfixesReqType; + CARD16 length B16; + Window window B32; +} xXFixesShowCursorReq; + +#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 |