diff --git a/src/cairo-xcb-shm.c b/src/cairo-xcb-shm.c index 6972720..608a59b 100644 --- a/src/cairo-xcb-shm.c +++ b/src/cairo-xcb-shm.c @@ -514,7 +514,12 @@ _cairo_xcb_connection_allocate_shm_info (cairo_xcb_connection_t *connection, cairo_list_del (&shm_info->pending); CAIRO_MUTEX_UNLOCK (connection->shm_mutex); +#if 0 xcb_discard_reply (connection->xcb_connection, shm_info->sync.sequence); +#else + free (xcb_get_input_focus_reply (connection->xcb_connection, + shm_info->sync, NULL)); +#endif shm_info->sync.sequence = XCB_NONE; *shm_info_out = shm_info;