mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-07 08:21:02 -04:00
shm: add shm_can_scroll()
This commit is contained in:
parent
6bc9fd4ba1
commit
5ffee08748
2 changed files with 8 additions and 0 deletions
1
shm.h
1
shm.h
|
|
@ -32,6 +32,7 @@ struct buffer *shm_get_buffer(
|
|||
struct wl_shm *shm, int width, int height, unsigned long cookie);
|
||||
void shm_fini(void);
|
||||
|
||||
bool shm_can_scroll(void);
|
||||
bool shm_scroll(struct wl_shm *shm, struct buffer *buf, int rows);
|
||||
|
||||
void shm_purge(struct wl_shm *shm, unsigned long cookie);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue