X-Git-Url: https://code.delx.au/pulseaudio/blobdiff_plain/2ee9276d97f15ea965fb8a88f2aa184355b9903a..5205e6a85ac8699c464e2d676c4d8b1c2b7989e5:/src/pulsecore/x11wrap.c diff --git a/src/pulsecore/x11wrap.c b/src/pulsecore/x11wrap.c index 332ebb2e..454507ae 100644 --- a/src/pulsecore/x11wrap.c +++ b/src/pulsecore/x11wrap.c @@ -5,7 +5,7 @@ PulseAudio is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published - by the Free Software Foundation; either version 2 of the License, + by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. PulseAudio is distributed in the hope that it will be useful, but @@ -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;