Fix switching to window left/right/up/down

Regression introduced with
2ae475cedefc7521a03602bf163864f08caad23e

BUG: 301079
FIXED-IN: 4.9.0
REVIEW: 105138
This commit is contained in:
Martin Gräßlin 2012-06-03 09:07:41 +02:00
parent b4ff83ad3b
commit bbf13c1fe5

View file

@ -1487,7 +1487,7 @@ void Workspace::switchWindow(Direction direction)
ToplevelList clist = stackingOrder();
for (ToplevelList::Iterator i = clist.begin(); i != clist.end(); ++i) {
Client *client = qobject_cast<Client*>(c);
Client *client = qobject_cast<Client*>(*i);
if (!client) {
continue;
}