Simon Ser
|
c2952411d3
|
examples/screencopy-dmabuf: stop using strncpy
strncpy doesn't guarantee that the result is zero-terminated.
|
2022-06-04 23:03:39 +02:00 |
|
Tudor Brindus
|
ec3f432bbb
|
examples: use perror instead of fprintf GNU %m printf extension
|
2020-10-11 06:36:23 +02:00 |
|
Simon Ser
|
297354f847
|
Remove unnecessary wl_display_dispatch calls
wl_display_roundtrip already takes care of dispatching the display.
|
2020-08-24 07:55:35 -06:00 |
|
Andri Yngvason
|
a54ed85881
|
examples: screencopy-dmabuf: Fix y-inversion
|
2020-07-01 11:43:02 +02:00 |
|
Simon Ser
|
4615ce9099
|
examples/screencopy-dmabuf: call strncpy with maxlen - 1
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-11 07:34:55 -06:00 |
|
Andri Yngvason
|
e0d4f75172
|
examples: Add screencopy-dmabuf example
|
2020-06-08 20:49:41 +02:00 |
|