summaryrefslogtreecommitdiff
path: root/src/cairo-xcb-shm.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-11-18 09:59:34 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2011-11-18 09:59:34 +0000
commitc8dca5dad678258ee1bf7d60f5a6f766060c7fce (patch)
tree102a3c4b424a22cf892f759b6269da72cba5b8f2 /src/cairo-xcb-shm.c
parent3a94f4c7091ea6262007e7960e4cd915e17b33c0 (diff)
downloadcairo-c8dca5dad678258ee1bf7d60f5a6f766060c7fce.tar.gz
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.
Diffstat (limited to 'src/cairo-xcb-shm.c')
-rw-r--r--src/cairo-xcb-shm.c2
1 files changed, 1 insertions, 1 deletions
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);