--- a/src/vulkan/wsi/wsi_common_display.c 2018-09-21 12:57:01.000000000 +0200 +++ b/src/vulkan/wsi/wsi_common_display.c 2018-09-23 09:07:33.004949705 +0200 @@ -2304,6 +2304,7 @@ if (!crtc) return VK_ERROR_INITIALIZATION_FAILED; +#ifdef HAVE_DRI3_MODIFIERS xcb_randr_lease_t lease = xcb_generate_id(connection); xcb_randr_create_lease_cookie_t cl_c = xcb_randr_create_lease(connection, root, lease, 1, 1, @@ -2324,6 +2325,7 @@ return VK_ERROR_INITIALIZATION_FAILED; wsi->fd = fd; +#endif return VK_SUCCESS; }