Skip to content

Add WindowEvent::Mapped #3144

@colinmarc

Description

@colinmarc

At least on Wayland, it's useful to know when your window is actually presented. In general, this would allow delaying some logic until the "final" initial state of the window is known.

I'd like to suggest a WindowEvent::Mapped, which would fire when the compositor sends wl_surface@enter. I don't know anything about how other platforms work so I can't suggest a mechanism there, but I can't imagine it's all that different.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions