Files
Velix-MPV-Core/player
nanahi 896b3400f3 clipboard-wayland: read already sent data when the fd is hung up
A "hung up" fd only indicates that the other end of the pipe is closed.
This can happen when the other client has already sent some data into
the pipe and closed its end. This should not be treated as an error,
and reading data should proceed until read() returns 0 or -1.

Premuturely destroying offer in this case breaks getting selection
data. Change it so that the cleanup on error happens after the selection
data is read.

Fixes: d20ded876d
2025-04-13 16:30:58 +02:00
..
2025-03-04 20:07:29 +01:00
2025-04-02 17:28:49 +02:00
2025-03-04 20:07:29 +01:00
2025-03-04 20:07:29 +01:00