Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

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

Open
emersion opened this issue May 25, 2020 · 1 comment
Open

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

emersion opened this issue May 25, 2020 · 1 comment

Comments

@emersion
Copy link
Member

emersion commented May 25, 2020

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
Copy link
Member Author

emersion commented Nov 1, 2021

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

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

1 participant