}
}
_active = it;
- if (it != end)
- _last_active = it;
+ _last_active = it;
/* cout << "Active window is now: ";
if (_active == _clients.end()) cout << "None\n";
} else {
if (target == begin)
target = end;
- for (int x = 0; x < increment; ++x)
- --target;
+ --target;
}
// must be no window to focus