summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2013-07-09 22:30:17 +0200
committerMichael Stapelberg <michael@stapelberg.de>2013-07-09 22:30:17 +0200
commit4f3d815089e9587bb5adcdb1c40fe3683113ea3d (patch)
treea54fb9c16ddc16b43b6e90b0285ca3ab4e10ae1d
parent33e35665b182cc8b92375f5b712f79c2a6390532 (diff)
Clarify that pict_format is a pointer into pf_reply
…and therefore does not need to be freed in xcb_cursor_context_free()
-rw-r--r--cursor/cursor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cursor/cursor.h b/cursor/cursor.h
index b7a3946..a69f025 100644
--- a/cursor/cursor.h
+++ b/cursor/cursor.h
@@ -47,6 +47,7 @@ typedef struct xcb_cursor_context_t {
xcb_render_query_pict_formats_reply_t *pf_reply;
+ /* This is a pointer into pf_reply. */
xcb_render_pictforminfo_t *pict_format;
/* Specific values of the root window’s RESOURCE_MANAGER atom contents. */