summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/x11wrap.h
diff options
context:
space:
mode:
authorColin Guthrie <cguthrie@mandriva.org>2010-05-29 19:33:54 +0100
committerColin Guthrie <cguthrie@mandriva.org>2010-08-15 21:41:52 +0100
commit2b88634671d1b745b1364e9cf4827e30a5ff2a6e (patch)
treeeb453f9e6c9eb70fb34a8483aca9ab8e72b7cb26 /src/pulsecore/x11wrap.h
parent4a1072e0bcce9165a262dc76a12baa2680caa0e3 (diff)
x11: Partially convert to XCB.
This commit mostly converts the X11 handling to XCB. There are still some uses of XLib to deal with the X11 session handling modules, however all client-side code should now be free of XLib and thus this should fix Bug #799
Diffstat (limited to 'src/pulsecore/x11wrap.h')
-rw-r--r--src/pulsecore/x11wrap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pulsecore/x11wrap.h b/src/pulsecore/x11wrap.h
index b57541f2..fc2e01fe 100644
--- a/src/pulsecore/x11wrap.h
+++ b/src/pulsecore/x11wrap.h
@@ -23,6 +23,7 @@
***/
#include <X11/Xlib.h>
+#include <X11/Xlib-xcb.h>
#include <pulsecore/core.h>
@@ -46,6 +47,9 @@ void pa_x11_wrapper_unref(pa_x11_wrapper* w);
/* Return the X11 display object for this connection */
Display *pa_x11_wrapper_get_display(pa_x11_wrapper *w);
+/* Return the XCB connection object for this connection */
+xcb_connection_t *pa_x11_wrapper_get_xcb_connection(pa_x11_wrapper *w);
+
/* Kill the connection to the X11 display */
void pa_x11_wrapper_kill(pa_x11_wrapper *w);