summaryrefslogtreecommitdiff
path: root/include/compiz.h
diff options
context:
space:
mode:
authorDavid Reveman <davidr@novell.com>2007-08-06 17:09:47 -0400
committerDavid Reveman <davidr@novell.com>2007-08-06 17:09:47 -0400
commitc50eecfb0ae3901ca8014b58bfb71fb01e256736 (patch)
tree0fcbe9d876a8419cf5d435ed4b4de95bda5869cf /include/compiz.h
parent19189b3e0ec5f455eb5fa9c542abbd4b1600b124 (diff)
downloadcompiz-core-doc-c50eecfb0ae3901ca8014b58bfb71fb01e256736.tar.gz
compiz-core-doc-c50eecfb0ae3901ca8014b58bfb71fb01e256736.tar.bz2
Add XCB connection handle to CompDisplay.
Diffstat (limited to 'include/compiz.h')
-rw-r--r--include/compiz.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/compiz.h b/include/compiz.h
index f605640..e870662 100644
--- a/include/compiz.h
+++ b/include/compiz.h
@@ -26,12 +26,12 @@
#ifndef _COMPIZ_H
#define _COMPIZ_H
-#define ABIVERSION 20070708
+#define ABIVERSION 20070806
#include <stdio.h>
#include <sys/time.h>
-#include <X11/Xlib.h>
+#include <X11/Xlib-xcb.h>
#include <X11/Xutil.h>
#include <X11/extensions/Xdamage.h>
#include <X11/extensions/Xcomposite.h>
@@ -732,6 +732,8 @@ typedef void (*LogMessageProc) (CompDisplay *d,
char *message);
struct _CompDisplay {
+ xcb_connection_t *connection;
+
Display *display;
CompScreen *screens;