diff options
author | Colin Guthrie <cguthrie@mandriva.org> | 2010-05-29 19:33:54 +0100 |
---|---|---|
committer | Colin Guthrie <cguthrie@mandriva.org> | 2010-09-18 12:04:09 +0100 |
commit | 38778117f8e03f32ec5af8684a1013cc7807d66d (patch) | |
tree | 07d696e8bae6ea5f6c77c60c93942c2b4e52770e /src/pulsecore/x11wrap.h | |
parent | 2ecd764662174bf81b90cfa057104dec103bfeec (diff) | |
download | pulseaudio-38778117f8e03f32ec5af8684a1013cc7807d66d.tar.gz |
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.h')
-rw-r--r-- | src/pulsecore/x11wrap.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pulsecore/x11wrap.h b/src/pulsecore/x11wrap.h index b57541f29..fc2e01fec 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); |