aboutsummaryrefslogtreecommitdiff
path: root/shm.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-03-25 19:48:02 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-03-25 19:48:02 +0000
commit0baa249d8b59007913dbf7db8aa8d94e6c2b9d44 (patch)
tree3a45d081f4efeee5cf03ebcb3e42e1399de1ed8e /shm.h
parentshm: handle ftruncate failure (diff)
shm: make max pool size user configurable (via a 'tweak' setting)
Diffstat (limited to 'shm.h')
-rw-r--r--shm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/shm.h b/shm.h
index fe3f4b93..aff53d76 100644
--- a/shm.h
+++ b/shm.h
@@ -37,6 +37,7 @@ struct buffer *shm_get_buffer(
struct wl_shm *shm, int width, int height, unsigned long cookie, bool scrollable);
void shm_fini(void);
+void shm_set_max_pool_size(off_t max_pool_size);
bool shm_can_scroll(const struct buffer *buf);
bool shm_scroll(struct wl_shm *shm, struct buffer *buf, int rows,
int top_margin, int top_keep_rows,