effects/desktopgrid: only swap windows on current activity
In the desktop grid effect, dragging an empty area of a desktop to another desktop swaps all windows on the two desktops. This change makes sure that this matches only windows in the current activity. BUG: 386769 FIXED-IN: 5.24.5
This commit is contained in:
parent
1d6aee85e2
commit
1e0b0c881e
1 changed files with 1 additions and 1 deletions
|
@ -617,7 +617,7 @@ void DesktopGridEffect::windowInputMouseEvent(QEvent *e)
|
|||
end = windows.constEnd();
|
||||
it != end; ++it) {
|
||||
EffectWindow *w = const_cast<EffectWindow *>(*it); // we're not really touching it here but below
|
||||
if (w->isOnAllDesktops()) {
|
||||
if (w->isOnAllDesktops() || !w->isOnCurrentActivity()) {
|
||||
continue;
|
||||
}
|
||||
if (w->isOnDesktop(highlightedDesktop)) {
|
||||
|
|
Loading…
Reference in a new issue