path: root/src/pulsecore/x11wrap.c
diff options
authorColin Guthrie <>2010-05-29 19:33:54 +0100
committerColin Guthrie <>2010-09-18 12:04:09 +0100
commit38778117f8e03f32ec5af8684a1013cc7807d66d (patch)
tree07d696e8bae6ea5f6c77c60c93942c2b4e52770e /src/pulsecore/x11wrap.c
parent2ecd764662174bf81b90cfa057104dec103bfeec (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 Note that this removes the screen-based changes by Leszek Koltunski in 65e80, however this will be restored in due course.
Diffstat (limited to 'src/pulsecore/x11wrap.c')
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pulsecore/x11wrap.c b/src/pulsecore/x11wrap.c
index 1960a12f..454507ae 100644
--- a/src/pulsecore/x11wrap.c
+++ b/src/pulsecore/x11wrap.c
@@ -259,6 +259,10 @@ Display *pa_x11_wrapper_get_display(pa_x11_wrapper *w) {
return w->display;
+xcb_connection_t *pa_x11_wrapper_get_xcb_connection(pa_x11_wrapper *w) {
+ return XGetXCBConnection(pa_x11_wrapper_get_display(w));
void pa_x11_wrapper_kill(pa_x11_wrapper *w) {
pa_x11_client *c, *n;