Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.
This repository was 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

@emersion

Description

@emersion

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions