on xenial help sign in
don't try to take over control in the model. The stage is the one to say who's raised!
6b9b837Michael Zanetti
plugins/WindowManager/TopLevelSurfaceList.cpp−5
@@ -133,11 +133,6 @@ void TopLevelSurfaceList::appendSurfaceHelper(MirSurfaceInterface *surface, Appl
133
133
134void TopLevelSurfaceList::connectSurface(MirSurfaceInterface *surface)
134void TopLevelSurfaceList::connectSurface(MirSurfaceInterface *surface)
135{
135{
136− connect(surface, &MirSurfaceInterface::focusedChanged, this, [this, surface](bool focused){
137− if (focused) {
138−// this->raise(surface);
139− }
140− });
141 connect(surface, &MirSurfaceInterface::liveChanged, this, [this, surface](bool live){
136 connect(surface, &MirSurfaceInterface::liveChanged, this, [this, surface](bool live){
142 if (!live) {
137 if (!live) {
143 onSurfaceDied(surface);
138 onSurfaceDied(surface);