summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/x11wrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulsecore/x11wrap.c')
-rw-r--r--src/pulsecore/x11wrap.c4
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;