touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #11418
[Bug 1313832] Re: [enhancement] Allow nested mirservers to listen for lifecycle events
** Changed in: mir
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mir in Ubuntu.
https://bugs.launchpad.net/bugs/1313832
Title:
[enhancement] Allow nested mirservers to listen for lifecycle events
Status in Mir:
Fix Released
Status in “mir” package in Ubuntu:
New
Bug description:
./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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1313832/+subscriptions