diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-07-18 14:44:49 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-07-18 14:44:49 +0000 |
| commit | 5b6a2b0eaff1ffef84d728a6c76c044c7f01a1d8 (patch) | |
| tree | 9feaecf92c54bb1d810cd2c3d1b0409b64f1c6e9 /render.c | |
| parent | term: erase_scrollback(): destroy sixels that touch the scrollback (diff) | |
shm: get_many(): allow “NULL” buffers - buffers where width or height is 0
When a zero-sized buffer is requested, simply return a NULL buffer,
instead of crashing with a Wayland protocol error.
This makes it easier to request many buffers, where some may be
zero-sized, without having to pack the width/height and bufs arrays.
Diffstat (limited to 'render.c')
0 files changed, 0 insertions, 0 deletions
