summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2007-09-19 13:59:35 -0400
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2007-09-19 13:59:35 -0400
commit082c0f7fb34458ebb303cf875d1d75686eca25e6 (patch)
tree2435af785e3914a7003f37e217b6304b58dd22aa /include
parent5b36b64192517e2470766ce7ff1d4dc04c936fad (diff)
devPrivates rework: move devPrivates field in drawable structure types
to just below the DrawableRec. Wish there were a better way to do this but it has to be in the same place for all drawable types.
Diffstat (limited to 'include')
-rw-r--r--include/pixmapstr.h2
-rw-r--r--include/windowstr.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/pixmapstr.h b/include/pixmapstr.h
index 4162c667e..5f0e0c508 100644
--- a/include/pixmapstr.h
+++ b/include/pixmapstr.h
@@ -72,10 +72,10 @@ typedef struct _Drawable {
typedef struct _Pixmap {
DrawableRec drawable;
+ PrivateRec *devPrivates;
int refcnt;
int devKind;
DevUnion devPrivate;
- PrivateRec *devPrivates;
#ifdef COMPOSITE
short screen_x;
short screen_y;
diff --git a/include/windowstr.h b/include/windowstr.h
index ca212ad99..4359481cd 100644
--- a/include/windowstr.h
+++ b/include/windowstr.h
@@ -124,6 +124,7 @@ typedef struct _WindowOpt {
typedef struct _Window {
DrawableRec drawable;
+ PrivateRec *devPrivates;
WindowPtr parent; /* ancestor chain */
WindowPtr nextSib; /* next lower sibling */
WindowPtr prevSib; /* next higher sibling */
@@ -160,7 +161,6 @@ typedef struct _Window {
#ifdef COMPOSITE
unsigned redirectDraw:2; /* rendering is redirected from here */
#endif
- PrivateRec *devPrivates;
} WindowRec;
/*