Mir

[enhancement] Allow nested mirservers to listen for lifecycle events

Bug #1313832 reported by Michael Terry
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Fix Released
Undecided
Unassigned
mir (Ubuntu)
Fix Released
Undecided
Unassigned

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
Revision history for this message
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
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.