From c8dca5dad678258ee1bf7d60f5a6f766060c7fce Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 18 Nov 2011 09:59:34 +0000 Subject: [PATCH] Revert "xcb: Fix xcb-huge-image-shm" This reverts commit 3a94f4c7091ea6262007e7960e4cd915e17b33c0. We need to fallback to pushing large images over the wire if we exhaust the SHM space. --- src/cairo-xcb-shm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cairo-xcb-shm.c b/src/cairo-xcb-shm.c index 7eee83d91..6972720b0 100644 --- a/src/cairo-xcb-shm.c +++ b/src/cairo-xcb-shm.c @@ -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);