The work around I have for this is to create your own event queue, the working example i have now: https://github.com/glfw/glfw/blob/master/src/mir_window.c
The only difference to move to mir events 2.0 is to instead of memcpy the struct of the sizeof(MirEvent) is to use mir_event_ref to get a copy of the reference of the event. Then just use a mutex when using the queue.
Works quite well atm.
The work around I have for this is to create your own event queue, the working example i have now: /github. com/glfw/ glfw/blob/ master/ src/mir_ window. c
https:/
The only difference to move to mir events 2.0 is to instead of memcpy the struct of the sizeof(MirEvent) is to use mir_event_ref to get a copy of the reference of the event. Then just use a mutex when using the queue.
Works quite well atm.