summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Reveman <davidr@novell.com>2007-09-04 14:43:41 -0400
committerDavid Reveman <davidr@novell.com>2007-09-04 14:43:41 -0400
commitf2507cf28ca7c7294ae3a387eae160d0e8b4dcb3 (patch)
tree8f60120e27061b99a50e88edc13d447e0aeff327 /include
parenta67f5c05d393d19a44d7316eeb679f3465ebe2f2 (diff)
Add parent to object struct.
Diffstat (limited to 'include')
-rw-r--r--include/compiz-core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/compiz-core.h b/include/compiz-core.h
index 901a88d5..648f5e74 100644
--- a/include/compiz-core.h
+++ b/include/compiz-core.h
@@ -275,6 +275,7 @@ typedef unsigned int CompObjectType;
struct _CompObject {
CompObjectType type;
CompPrivate *privates;
+ CompObject *parent;
};
typedef CompBool (*ObjectCallBackProc) (CompObject *object,
@@ -285,6 +286,7 @@ typedef CompBool (*ObjectTypeCallBackProc) (CompObjectType type,
void
compObjectInit (CompObject *object,
+ CompObject *parent,
CompPrivate *privates,
CompObjectType type);