diff options
author | Arnaud Fontaine <arnau@debian.org> | 2008-08-09 14:12:26 +0200 |
---|---|---|
committer | Julien Danjou <julien@danjou.info> | 2008-09-15 11:20:58 +0200 |
commit | c8f95fc6e476bc8e3ce40b1bfb0639555d572045 (patch) | |
tree | 856a41e1c769fc5fbfdb3ec494f442af45135631 | |
parent | 3cfde1d2ee489e762beafa2fa3573ac25dece384 (diff) |
[icccm] Make xcb_get_text_property() public as it might be useful for
upper-level applications.
-rw-r--r-- | icccm/icccm.c | 2 | ||||
-rw-r--r-- | icccm/xcb_icccm.h | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/icccm/icccm.c b/icccm/icccm.c index 3550c5a..2128bd0 100644 --- a/icccm/icccm.c +++ b/icccm/icccm.c @@ -4,7 +4,7 @@ #include "xcb_atom.h" -static int +int xcb_get_text_property(xcb_connection_t *c, xcb_window_t window, xcb_atom_t property, diff --git a/icccm/xcb_icccm.h b/icccm/xcb_icccm.h index 0f01b50..2711aec 100644 --- a/icccm/xcb_icccm.h +++ b/icccm/xcb_icccm.h @@ -9,6 +9,13 @@ extern "C" { #endif +int xcb_get_text_property (xcb_connection_t *c, + xcb_window_t window, + xcb_atom_t property, + uint8_t *format, + xcb_atom_t *encoding, + uint32_t *name_len, + char **name); /* WM_NAME */ |