Skip to content

Not possible to send events to winit from a Web Worker #2592

@syrel

Description

@syrel

Hi

There doesn't seem to be a way to wake up an event loop or enqueue events coming from a Web Worker due to winit trying to process events right away:

let mut process_immediately = true;

The referenced code assumes that events can only be sent from the main thread. What would it take to support this use-case?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions