aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/include/extensions/xfixeswire.h
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2017-10-31 01:54:47 +0100
committerMihai Moldovan <ionic@ionic.de>2018-02-26 02:38:53 +0100
commita667131e2846355b7b2099635761a79e22bcbe68 (patch)
tree16c659450b5354b729da8ac2cd6115a493bfd05b /nx-X11/include/extensions/xfixeswire.h
parent164263e1a12fc8a3a496739799cb60d547857f0a (diff)
downloadnx-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/xfixeswire.h')
-rw-r--r--nx-X11/include/extensions/xfixeswire.h20
1 files changed, 17 insertions, 3 deletions
diff --git a/nx-X11/include/extensions/xfixeswire.h b/nx-X11/include/extensions/xfixeswire.h
index 60851f2ae..4d86bdda1 100644
--- a/nx-X11/include/extensions/xfixeswire.h
+++ b/nx-X11/include/extensions/xfixeswire.h
@@ -27,7 +27,7 @@
#define _XFIXESWIRE_H_
#define XFIXES_NAME "XFIXES"
-#define XFIXES_MAJOR 3
+#define XFIXES_MAJOR 4
#define XFIXES_MINOR 0
/*************** Version 1 ******************/
@@ -62,8 +62,14 @@
#define X_XFixesChangeCursorByName 27
/*************** Version 3 ******************/
#define X_XFixesExpandRegion 28
+/*************** Version 4 ******************/
+#define X_XFixesHideCursor 29
+#define X_XFixesShowCursor 30
+/*************** Version 5 ******************/
+#define X_XFixesCreatePointerBarrier 31
+#define X_XFixesDestroyPointerBarrier 32
-#define XFixesNumberRequests 29
+#define XFixesNumberRequests (X_XFixesDestroyPointerBarrier+1)
/* Selection events share one event number */
#define XFixesSelectionNotify 0
@@ -88,7 +94,8 @@
/* errors */
#define BadRegion 0
-#define XFixesNumberErrors (BadRegion+1)
+#define BadBarrier 1
+#define XFixesNumberErrors (BadBarrier+1)
#define SaveSetNearest 0
#define SaveSetRoot 1
@@ -101,4 +108,11 @@
#define WindowRegionBounding 0
#define WindowRegionClip 1
+/*************** Version 5 ******************/
+
+#define BarrierPositiveX (1L << 0)
+#define BarrierPositiveY (1L << 1)
+#define BarrierNegativeX (1L << 2)
+#define BarrierNegativeY (1L << 3)
+
#endif /* _XFIXESWIRE_H_ */