summaryrefslogtreecommitdiff
path: root/icccm
diff options
context:
space:
mode:
authorJulien Danjou <julien@danjou.info>2008-09-19 08:13:23 +0200
committerArnaud Fontaine <arnau@debian.org>2010-11-14 20:21:27 +0900
commit43d7b2f6650530645baf09b256f31ccb620181e8 (patch)
tree59762f160c0742c41394572a4d2483bbbdf91e39 /icccm
parenta93692598d890437602fea11ad031ad6edd0ed87 (diff)
icccm: add some comment on text reply usage
Signed-off-by: Julien Danjou <julien@danjou.info>
Diffstat (limited to 'icccm')
-rw-r--r--icccm/xcb_icccm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/icccm/xcb_icccm.h b/icccm/xcb_icccm.h
index 1514adb..fb0ef6f 100644
--- a/icccm/xcb_icccm.h
+++ b/icccm/xcb_icccm.h
@@ -92,6 +92,9 @@ xcb_get_property_cookie_t xcb_get_text_property_unchecked(xcb_connection_t *c,
* @param e Error if any.
* @return Return 1 on success, 0 otherwise.
*
+ * If the function return 0 (failure), the content of prop is unmodified and
+ * therefore the structure must not be wiped.
+ *
* The parameter e supplied to this function must be NULL if
* xcb_get_text_property_unchecked() is used. Otherwise, it stores
* the error if any. prop structure members should be freed by