[enhancement] Allow nested mirservers to listen for lifecycle events

Bug #1313832 reported by Michael Terry on 2014-04-28
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
mir (Ubuntu)

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.

tags: added: enhancement nested
Alan Griffiths (alan-griffiths) wrote :

the problems seems to be getting hold of the MirConnection to call this (and other) APIs

Changed in mir:
status: New → Fix Released
Cemil Azizoglu (cemil-azizoglu) wrote :

The fix for this was released at 0.6.0.

Changed in mir (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers