record our last screen/desktop setting even if we don't have a containment yet
svn path=/trunk/KDE/kdelibs/; revision=1042402
This commit is contained in:
parent
c71cd00557
commit
b03243d7ae
6
view.cpp
6
view.cpp
@ -180,12 +180,14 @@ void View::setScreen(int screen, int desktop)
|
|||||||
}
|
}
|
||||||
|
|
||||||
Containment *containment = corona->containmentForScreen(screen, desktop);
|
Containment *containment = corona->containmentForScreen(screen, desktop);
|
||||||
if (containment) {
|
|
||||||
d->containment = 0; //so that we don't end up on the old containment's screen
|
|
||||||
d->lastScreen = screen;
|
d->lastScreen = screen;
|
||||||
d->lastDesktop = desktop;
|
d->lastDesktop = desktop;
|
||||||
|
|
||||||
|
if (containment) {
|
||||||
|
d->containment = 0; //so that we don't end up on the old containment's screen
|
||||||
setContainment(containment);
|
setContainment(containment);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user