summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2009-07-16 11:20:09 +0100
committerJulien Cristau <jcristau@debian.org>2009-07-16 22:34:00 +0100
commitc7c9beab9a41d835008e1070c0ed8470293fe6ba (patch)
tree5634c37d0802486aeb1c0063821434ff8897e494
parenta0aeb48945773d26f9a033a672eaf6f7917d0b83 (diff)
downloadxorg-proto-fixesproto-c7c9beab9a41d835008e1070c0ed8470293fe6ba.tar.gz
fixesproto: adjust to split xext headers
Protocol constants for shape were moved to shapeconst.h. Acked-By: Adam Jackson <ajax@redhat.com>
-rw-r--r--fixesproto.pc.in1
-rw-r--r--xfixesproto.h4
2 files changed, 2 insertions, 3 deletions
diff --git a/fixesproto.pc.in b/fixesproto.pc.in
index 454ed8d..fabce86 100644
--- a/fixesproto.pc.in
+++ b/fixesproto.pc.in
@@ -7,3 +7,4 @@ Name: FixesProto
Description: X Fixes extension headers
Version: @PACKAGE_VERSION@
Cflags: -I${includedir}
+Requires: xextproto >= 7.0.99.1
diff --git a/xfixesproto.h b/xfixesproto.h
index 571706e..545e325 100644
--- a/xfixesproto.h
+++ b/xfixesproto.h
@@ -47,9 +47,7 @@
#include <X11/Xmd.h>
#include <X11/extensions/xfixeswire.h>
-#define _SHAPE_SERVER_
-#include <X11/extensions/shape.h>
-#undef _SHAPE_SERVER_
+#include <X11/extensions/shapeconst.h>
#define Window CARD32
#define Drawable CARD32