summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/x11prop.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/x11prop.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/x11prop.h')
-rw-r--r--src/pulsecore/x11prop.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/pulsecore/x11prop.h b/src/pulsecore/x11prop.h
index dc675263..74922615 100644
--- a/src/pulsecore/x11prop.h
+++ b/src/pulsecore/x11prop.h
@@ -5,6 +5,7 @@
This file is part of PulseAudio.
Copyright 2004-2006 Lennart Poettering
+ Copyright 2010 Colin Guthrie
PulseAudio is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
@@ -24,10 +25,10 @@
#include <sys/types.h>
-#include <X11/Xlib.h>
+#include <xcb/xcb.h>
-void pa_x11_set_prop(Display *d, const char *name, const char *data);
-void pa_x11_del_prop(Display *d, const char *name);
-char* pa_x11_get_prop(Display *d, const char *name, char *p, size_t l);
+void pa_x11_set_prop(xcb_connection_t *xcb, const char *name, const char *data);
+void pa_x11_del_prop(xcb_connection_t *xcb, const char *name);
+char* pa_x11_get_prop(xcb_connection_t *xcb, const char *name, char *p, size_t l);
#endif