Skip to content

examples/screencopy-dmabuf: call strncpy with maxlen - 1

Simon Ser requested to merge github/fork/emersion/strncpy-minus-one into master

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

Merge request reports