1 --- a/src/wmcontainer.cc 2010-08-06 18:23:51.000000000 +0400
2 +++ b/src/wmcontainer.cc 2010-08-06 18:23:22.000000000 +0400
5 void YClientContainer::handleMapRequest(const XMapRequestEvent &mapRequest) {
6 if (mapRequest.window == getFrame()->client()->handle()) {
7 + manager->lockFocus();
8 getFrame()->setState(WinStateMinimized |
12 + manager->unlockFocus();
13 bool doActivate = true;
14 getFrame()->updateFocusOnMap(doActivate);