Revert "xcb: Fix xcb-huge-image-shm"

This reverts commit 3a94f4c709.

We need to fallback to pushing large images over the wire if we exhaust
the SHM space.
This commit is contained in:
Chris Wilson 2011-11-18 09:59:34 +00:00
parent 3a94f4c709
commit c8dca5dad6

View file

@ -577,7 +577,7 @@ _cairo_xcb_connection_allocate_shm_info (cairo_xcb_connection_t *connection,
connection->flags &= ~CAIRO_XCB_HAS_SHM;
free (pool);
CAIRO_MUTEX_UNLOCK (connection->shm_mutex);
return _cairo_error (CAIRO_STATUS_NO_MEMORY);
return CAIRO_INT_STATUS_UNSUPPORTED;
}
pool->base = shmat (pool->shmid, NULL, 0);