From 94d802d7005d88a22b289cc9c31ae06284690d1c Mon Sep 17 00:00:00 2001 From: David Reveman Date: Tue, 4 Sep 2007 19:38:06 -0400 Subject: Keep track of display objects in core object. --- include/compiz-core.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include') 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; -- cgit v1.2.3