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!
commit6b9b8371aa54c2d5c21e861aa8287ac3f9aeacf1 authorMichael Zanetti <michael.zanetti@canonical.com> dateWed 14 Sep 2016, 17:02 (10 years ago) parentc071f5d
1 file changed−5
plugins/WindowManager/TopLevelSurfaceList.cpp−5
plugins/WindowManager/TopLevelSurfaceList.cpp−5
@@ -133,11 +133,6 @@ void TopLevelSurfaceList::appendSurfaceHelper(MirSurfaceInterface *surface, Appl
133133
134134void TopLevelSurfaceList::connectSurface(MirSurfaceInterface *surface)
135135{
136− connect(surface, &MirSurfaceInterface::focusedChanged, this, [this, surface](bool focused){
137− if (focused) {
138−// this->raise(surface);
139− }
140− });
141136 connect(surface, &MirSurfaceInterface::liveChanged, this, [this, surface](bool live){
142137 if (!live) {
143138 onSurfaceDied(surface);