aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-07-18 14:44:49 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-07-18 14:44:49 +0000
commit5b6a2b0eaff1ffef84d728a6c76c044c7f01a1d8 (patch)
tree9feaecf92c54bb1d810cd2c3d1b0409b64f1c6e9 /scripts
parentterm: 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 'scripts')
0 files changed, 0 insertions, 0 deletions