wlr-protocols icon indicating copy to clipboard operation
wlr-protocols copied to clipboard

screencopy: don't make a buffer param mismatch a protocol error

Open emersion opened this issue 4 years ago • 1 comments

Right now if a client tries to copy a buffer with invalid params, a protocol error is sent.

This makes it mandatory for the client to wait for the buffer event containing the buffer params prior to sending the copy request. If invalid buffer params caused a failed event, a client could only wait for buffer params on the first frame and then re-use the previous params (retrying on failure if the buffer params changed). This would avoid one roundtrip per frame.

This would not be a breaking change.

emersion avatar May 25 '20 16:05 emersion

wlr-protocols has migrated to gitlab.freedesktop.org. This issue has been moved to:

https://gitlab.freedesktop.org/wlroots/wlr-protocols/-/issues/82

emersion avatar Nov 01 '21 10:11 emersion