summaryrefslogtreecommitdiffstats
path: root/src/blueshift_iccprofile.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-04-02 12:59:17 +0200
committerMattias Andrée <maandree@operamail.com>2014-04-02 12:59:17 +0200
commit7e1e0cc13e0043508180ef01494d14204b9f3c9e (patch)
tree9da12d9b321b0f1a0481eb52bf87bb9463403c49 /src/blueshift_iccprofile.c
parentm + document (diff)
downloadblueshift-7e1e0cc13e0043508180ef01494d14204b9f3c9e.tar.gz
blueshift-7e1e0cc13e0043508180ef01494d14204b9f3c9e.tar.bz2
blueshift-7e1e0cc13e0043508180ef01494d14204b9f3c9e.tar.xz
m + document
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/blueshift_iccprofile.c')
-rw-r--r--src/blueshift_iccprofile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/blueshift_iccprofile.c b/src/blueshift_iccprofile.c
index 6c1833c..7d97b9f 100644
--- a/src/blueshift_iccprofile.c
+++ b/src/blueshift_iccprofile.c
@@ -208,7 +208,7 @@ int main(int argc, char** argv)
/* Get root window property value */
monitor_ok:
- /* Acquire the property's value */
+ /* Acquire the property's value, partially. */
prop_cookie = xcb_get_property(connection, 0, screen->root, *atoms, XCB_GET_PROPERTY_TYPE_ANY, 0, 0);
prop_reply = xcb_get_property_reply(connection, prop_cookie, &error);
@@ -227,6 +227,7 @@ int main(int argc, char** argv)
/* Get the length of the property's value */
len = prop_reply->bytes_after;
+ /* Acquire the property's value, fully. */
prop_cookie = xcb_get_property(connection, 0, screen->root, *atoms, XCB_GET_PROPERTY_TYPE_ANY, 0, len);
prop_reply = xcb_get_property_reply(connection, prop_cookie, &error);