From: David Hill Date: Mon, 16 Jul 2012 00:45:20 +0000 (-0400) Subject: prefetch the xcb_randr_id so we don't block later X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;ds=inline;h=b6ca75c2a746e32fd926210d2314fe238afb359a;hp=8f2c842365741949c956a81064d8b657e99de25b;p=spectrwm.git prefetch the xcb_randr_id so we don't block later --- diff --git a/spectrwm.c b/spectrwm.c index e54a743..6c724e7 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -7650,6 +7650,7 @@ main(int argc, char *argv[]) if (xcb_connection_has_error(conn)) errx(1, "can not get XCB connection"); + xcb_prefetch_extension_data(conn, &xcb_randr_id); xfd = xcb_get_file_descriptor(conn); /* look for local and global conf file */