aboutsummaryrefslogtreecommitdiff
path: root/examples/screencopy-dmabuf.c
AgeCommit message (Collapse)Author
2020-06-11examples/screencopy-dmabuf: call strncpy with maxlen - 1Simon Ser
The original code wasn't wrong since we were manually writing a null byte anyway, but this makes GCC happy. Closes: https://github.com/swaywm/wlroots/issues/2273
2020-06-08examples: Add screencopy-dmabuf exampleAndri Yngvason