summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2004-07-26 17:17:33 +0000
committerKeith Packard <keithp@keithp.com>2004-07-26 17:17:33 +0000
commit146473ec041bf2b7f550ca622ef5cb824f019146 (patch)
treeb9f8d5326bfc28b42469a5bb74354182e0aef685
parent8d389eb1ebdd0d81435268bbb0699ec299030743 (diff)
Add XFixesExpandRegion
-rw-r--r--ChangeLog7
-rw-r--r--configure.ac4
-rw-r--r--xfixesproto.h16
-rw-r--r--xfixeswire.h6
4 files changed, 29 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 6124482..507d2bc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2004-07-26 Keith Packard <keithp@keithp.com>
+
+ * configure.ac:
+ * xfixesproto.h:
+ * xfixeswire.h:
+ Add XFixesExpandRegion
+
2004-02-03 Jim Gettys <jg@freedesktop.org>
* AUTHORS: Add contents to AUTHORS file
diff --git a/configure.ac b/configure.ac
index f869501..923f97a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
dnl
-dnl $Id: configure.ac,v 1.6 2004-01-21 10:09:59 daniel Exp $
+dnl $Id: configure.ac,v 1.7 2004-07-26 17:17:33 keithp Exp $
dnl
dnl Copyright © 2003 Keith Packard, Noah Levitt
dnl
@@ -24,7 +24,7 @@ dnl
dnl Process this file with autoconf to create configure.
AC_PREREQ([2.57])
-AC_INIT([fixesext], [2.0.1], [keithp@keithp.com], fixesext)
+AC_INIT([fixesext], [3.0.0], [keithp@keithp.com], fixesext)
AM_INIT_AUTOMAKE([dist-bzip2])
AM_MAINTAINER_MODE
diff --git a/xfixesproto.h b/xfixesproto.h
index e6b2a7f..1d904b9 100644
--- a/xfixesproto.h
+++ b/xfixesproto.h
@@ -446,6 +446,22 @@ typedef struct {
#define sz_xXFixesChangeCursorByNameReq 12
+/*************** Version 3 ******************/
+
+typedef struct {
+ CARD8 reqType;
+ CARD8 xfixesReqType;
+ CARD16 length B16;
+ Region source B32;
+ Region destination B32;
+ CARD16 left B16;
+ CARD16 right B16;
+ CARD16 top B16;
+ CARD16 bottom B16;
+} xXFixesExpandRegionReq;
+
+#define sz_xXFixesExpandRegionReq 20
+
#undef Region
#undef Picture
#undef Window
diff --git a/xfixeswire.h b/xfixeswire.h
index 3cb2730..a1dd4ba 100644
--- a/xfixeswire.h
+++ b/xfixeswire.h
@@ -27,7 +27,7 @@
#define _XFIXESWIRE_H_
#define XFIXES_NAME "XFIXES"
-#define XFIXES_MAJOR 2
+#define XFIXES_MAJOR 3
#define XFIXES_MINOR 0
/*************** Version 1 ******************/
@@ -60,8 +60,10 @@
#define X_XFixesGetCursorImageAndName 25
#define X_XFixesChangeCursor 26
#define X_XFixesChangeCursorByName 27
+/*************** Version 3 ******************/
+#define X_XFixesExpandRegion 28
-#define XFixesNumberRequests (X_XFixesChangeCursorByName+1)
+#define XFixesNumberRequests 29
/* Selection events share one event number */
#define XFixesSelectionNotify 0