correctly test whether client is on a VD
when considering if for a directional focus switch BUG: 331512 REVIEW: 122292 FIXED-IN: 5.3
This commit is contained in:
parent
9f3656c917
commit
fdcb0e6180
1 changed files with 1 additions and 1 deletions
|
@ -1695,7 +1695,7 @@ void Workspace::switchWindow(Direction direction)
|
|||
continue;
|
||||
}
|
||||
if (client->wantsTabFocus() && *i != c &&
|
||||
client->desktop() == d && !client->isMinimized() && (*i)->isOnCurrentActivity()) {
|
||||
client->isOnDesktop(d) && !client->isMinimized() && (*i)->isOnCurrentActivity()) {
|
||||
// Centre of the other window
|
||||
QPoint other(client->pos().x() + client->geometry().width() / 2,
|
||||
client->pos().y() + client->geometry().height() / 2);
|
||||
|
|
Loading…
Reference in a new issue