fix overzealous but autogroup by id breaking optimization

BUG: 302084
FIXD-IN: 4.9
REVIEW: 105296
This commit is contained in:
Thomas Lübking 2012-06-18 21:19:11 +02:00
parent 759eed1d62
commit 9f172ad9a7

View file

@ -330,7 +330,7 @@ bool Client::manage(Window w, bool isMapped)
}
}
}
if (autogrouping && !tab_group && !isMapped && !session) {
if (!(tab_group || isMapped || session)) {
// Attempt to automatically group similar windows
Client* similar = findAutogroupCandidate();
if (similar && !similar->noBorder()) {