Mir

Code review comment for lp:~afrantzis/mir/fix-1511798-alternative

Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

I think the right solution is to move the "session->destroy_surface(surface);" call from AbstractShell::destroy_surface() to <Policy>::handle_delete_surface(). (There are four of these, plus DefaultWindowManager::remove_surface() in playground.)

It seems like a PITA, but this allows the window management policy control over the point at which the surface and decorations are destroyed.

review: Needs Fixing

« Back to merge proposal