support tabs in directional window switching shortcuts

BUG: 296096
REVIEW: 104293
FIXED-IN: 4.9
This commit is contained in:
Thomas Lübking 2012-03-16 00:13:29 +01:00
parent 49fff98f04
commit 77dbf4082f

View file

@ -1522,8 +1522,11 @@ void Workspace::switchWindow(Direction direction)
}
}
}
if (switchTo)
if (switchTo) {
if (switchTo->tabGroup())
switchTo = switchTo->tabGroup()->current();
activateClient(switchTo);
}
}
/*!