summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Reveman <davidr@novell.com>2007-09-04 19:38:06 -0400
committerDavid Reveman <davidr@novell.com>2007-09-04 19:38:06 -0400
commit94d802d7005d88a22b289cc9c31ae06284690d1c (patch)
tree28f10b19d5f24cac15048f0eba6837028bbac218 /include
parent8aa93670eae61f059bb0c1ab128719587ac1f1fd (diff)
Keep track of display objects in core object.
Diffstat (limited to 'include')
-rw-r--r--include/compiz-core.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/compiz-core.h b/include/compiz-core.h
index 58a3067c..6b6e359e 100644
--- a/include/compiz-core.h
+++ b/include/compiz-core.h
@@ -595,6 +595,8 @@ typedef CompBool (*SetOptionForPluginProc) (CompObject *object,
struct _CompCore {
CompObject base;
+ CompDisplay *displays;
+
InitPluginForObjectProc initPluginForObject;
FiniPluginForObjectProc finiPluginForObject;
@@ -638,6 +640,9 @@ allocateCorePrivateIndex (void);
void
freeCorePrivateIndex (int index);
+void
+addDisplayToCore (CompDisplay *d);
+
CompFileWatchHandle
addFileWatch (const char *path,
int mask,
@@ -807,6 +812,8 @@ typedef void (*LogMessageProc) (CompDisplay *d,
struct _CompDisplay {
CompObject base;
+ CompDisplay *next;
+
xcb_connection_t *connection;
Display *display;