diff options
| author | Mattias Andrée <maandree@operamail.com> | 2014-04-12 02:00:08 +0200 | 
|---|---|---|
| committer | Mattias Andrée <maandree@operamail.com> | 2014-04-12 02:00:08 +0200 | 
| commit | 7c1454940fd2ec9272fec9d3c3076846381a31fe (patch) | |
| tree | c3e42ad6f07b029e2a2151d26432527393f7f3c2 /src | |
| parent | typo (diff) | |
| download | blueshift-7c1454940fd2ec9272fec9d3c3076846381a31fe.tar.gz blueshift-7c1454940fd2ec9272fec9d3c3076846381a31fe.tar.bz2 blueshift-7c1454940fd2ec9272fec9d3c3076846381a31fe.tar.xz | |
m doc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
| -rw-r--r-- | src/blueshift_idcrtc.c | 8 | 
1 files changed, 7 insertions, 1 deletions
| diff --git a/src/blueshift_idcrtc.c b/src/blueshift_idcrtc.c index 08379fe..794829e 100644 --- a/src/blueshift_idcrtc.c +++ b/src/blueshift_idcrtc.c @@ -316,12 +316,18 @@ int main(int argc, char** argv)  			unsigned char* atom_data_;  			char* atom_data; -			/* Acquire the property's value, we know that it is 128 byte long. */ +			/* Acquire the property's value, we know(*) that it is 128 byte long. */  			atom_cookie = xcb_randr_get_output_property(connection, outputs[output_i], *atoms,  								    XCB_GET_PROPERTY_TYPE_ANY, 0, 128, 0, 0);  			atom_reply = xcb_randr_get_output_property_reply(connection, atom_cookie, &error); +			/* (*) EDID version 1.0 through 1.4 define it as 128 bytes long, +			       but version 2.0 define it as 256 bytes long. However, +			       version 2.0 is rare(?) and has been deprecated and replaced +			       byte version 1.3 (I guess that is with a new version epoch, +			       but I do not know.) */  +			  			if (error)  			  {  			    /* On error print an error message, */ | 
