diff options
author | Uli Schlachter <psychon@znc.in> | 2015-03-18 22:02:38 +0100 |
---|---|---|
committer | Uli Schlachter <psychon@znc.in> | 2015-03-18 22:02:38 +0100 |
commit | 514070caf83ac09478383990d8b3f91493dc1a35 (patch) | |
tree | c0c704c52c30d7c266829f196af7e977b082a32c /src | |
parent | a000b288db938392b5e8f0f4a5f0d3eea588de66 (diff) |
Add a TODO about round-trips
Signed-off-by: Uli Schlachter <psychon@znc.in>
Diffstat (limited to 'src')
-rw-r--r-- | src/xcb_errors.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xcb_errors.c b/src/xcb_errors.c index d1503e0..7cffe85 100644 --- a/src/xcb_errors.c +++ b/src/xcb_errors.c @@ -102,6 +102,8 @@ int xcb_errors_context_new(xcb_connection_t *conn, xcb_errors_context_t **c) if (!reply) goto error_out; + // TODO: Make this do all the query_extension requests first and then + // collect the results. Less roundtrips. iter = xcb_list_extensions_names_iterator(reply); while (iter.rem > 0) { int status = register_extension(ctx, conn, xcb_str_name(iter.data)); |