From b6ca75c2a746e32fd926210d2314fe238afb359a Mon Sep 17 00:00:00 2001 From: David Hill Date: Sun, 15 Jul 2012 20:45:20 -0400 Subject: [PATCH] prefetch the xcb_randr_id so we don't block later --- spectrwm.c | 1 + 1 file changed, 1 insertion(+) 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 */ -- 1.7.10.4