Skip to content
This repository was archived by the owner on Nov 12, 2023. It is now read-only.
This repository was archived by the owner on Nov 12, 2023. It is now read-only.

Dynamically assign major opcodes for extensions #101

@Syudagye

Description

@Syudagye

Opcodes 0-127 are for the base protocol requests, so they are static and won't change.
But opcodes 127-255 are for extensions and are dynamically assigned by the X server at startup, so they can't be statically set within the macro syntax or Request trait constant.
https://www.x.org/wiki/Development/Documentation/Protocol/OpCodes/

So the macro syntax and the trait definition needs to be adapted to support extensions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions