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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1397375

Title:
  [enhancement] need fd (file descriptor) and dispatch function

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1397375/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to