aboutsummaryrefslogtreecommitdiffstats
path: root/gamma-x-randr.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-03-05 00:43:38 +0100
committerMattias Andrée <maandree@kth.se>2021-03-05 00:43:38 +0100
commit0ce0d8d6e0c420ccafa79e0203b928c3559a4311 (patch)
tree88e8228a93691c28811a49898abf86a96dd9d613 /gamma-x-randr.c
parentChange license + change style + misc (diff)
downloadlibgamma-0ce0d8d6e0c420ccafa79e0203b928c3559a4311.tar.gz
libgamma-0ce0d8d6e0c420ccafa79e0203b928c3559a4311.tar.bz2
libgamma-0ce0d8d6e0c420ccafa79e0203b928c3559a4311.tar.xz
Split source files, merge public header files, eliminite use gpp, rewrite makefile
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--gamma-x-randr.c (renamed from src/lib/gamma-x-randr.c)4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/gamma-x-randr.c b/gamma-x-randr.c
index fce65d1..95d730c 100644
--- a/src/lib/gamma-x-randr.c
+++ b/gamma-x-randr.c
@@ -192,7 +192,7 @@ libgamma_x_randr_site_initialise(libgamma_site_state_t *restrict this, char *res
/* Release resources */
free(reply);
/* If `xcb_connect` failed, both `error` and `reply` will be `NULL`.
- XXX: Can both be `NULL` for any other reason? */
+ * TODO: Can both be `NULL` for any other reason? */
if (!error && !reply)
return LIBGAMMA_OPEN_SITE_FAILED;
xcb_disconnect(connection);
@@ -874,7 +874,7 @@ libgamma_x_randr_get_crtc_information(libgamma_crtc_information_t *restrict this
}
/* Parse EDID */
if ((fields & (LIBGAMMA_CRTC_INFO_MACRO_EDID ^ LIBGAMMA_CRTC_INFO_EDID)))
- e |= libgamma_parse_edid(this, fields);
+ e |= libgamma_internal_parse_edid(this, fields);
cont:
/* Get gamma ramp size */