we'll eventually get this to work in all cases :P
svn path=/trunk/KDE/kdelibs/; revision=1042462
This commit is contained in:
parent
df2e7b902e
commit
22c6e31931
14
view.cpp
14
view.cpp
@ -173,16 +173,18 @@ void View::setScreen(int screen, int desktop)
|
||||
desktop = -1;
|
||||
}
|
||||
|
||||
Plasma::Corona *corona = qobject_cast<Plasma::Corona*>(scene());
|
||||
Containment *containment = corona->containmentForScreen(screen, desktop);
|
||||
d->lastScreen = screen;
|
||||
d->lastDesktop = desktop;
|
||||
|
||||
if (containment) {
|
||||
d->containment = 0; //so that we don't end up on the old containment's screen
|
||||
setContainment(containment);
|
||||
}
|
||||
Plasma::Corona *corona = qobject_cast<Plasma::Corona*>(scene());
|
||||
if (corona) {
|
||||
Containment *containment = corona->containmentForScreen(screen, desktop);
|
||||
|
||||
if (containment) {
|
||||
d->containment = 0; //so that we don't end up on the old containment's screen
|
||||
setContainment(containment);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user