JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
prefetch the xcb_randr_id so we don't block later
authorDavid Hill <dhill@conformal.com>
Mon, 16 Jul 2012 00:45:20 +0000 (20:45 -0400)
committerReginald Kennedy <rk@rejii.com>
Fri, 20 Jul 2012 21:59:30 +0000 (05:59 +0800)
spectrwm.c

index e54a743..6c724e7 100644 (file)
@@ -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 */