mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
shm: make max pool size user configurable (via a 'tweak' setting)
This commit is contained in:
parent
e9f1638750
commit
0baa249d8b
5 changed files with 39 additions and 11 deletions
1
shm.h
1
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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue