Skip to content

Unable to handle "copied" events correctly #214

@algon-320

Description

@algon-320

I found copied events (like xcb::x::KeyReleaseEvent) are implemented by aliasing to their original event type.

For example:

pub type KeyReleaseEvent = KeyPressEvent;

But, this makes these types share the same event number.
Because of that we cannot create an correct instance of KeyReleaseEvent since it is actually KeyPressEvent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions