Public bug reported:
./client/mir_toolkit/mir_client_library.h contains:
void mir_connection_set_lifecycle_event_callback(MirConnection* connection,
mir_lifecycle_event_callback callback, void* context);
But there is no equivalent for nested mirservers. As a result, the
mirserver platform-api plugin just doesn't pass such events along. But
it should! (If there is already a way to do this, please let me know.
Maybe I'm just not familiar enough with Mir.)
So, I'm not sure the best way from an API perspective. There is a
HostConnection class could provide its MirConnection, but that actual
class definition isn't exposed right now to consumers of the Mir API.
Or just add a special call for the server to set a callback.
** Affects: mir (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1313832
Title:
[enhancement] Allow nested mirservers to listen for lifecycle events
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mir/+bug/1313832/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs