emit geometryChanged when the location or screen changes for a panel, since the actual scene geometry may not change, but from the perspective of a view it does

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=782258
This commit is contained in:
Aaron J. Seigo 2008-03-04 17:48:28 +00:00
parent 7c3cf27433
commit 7a107c9425

View File

@ -784,6 +784,11 @@ void Containment::setScreen(int screen)
d->screen = screen;
updateConstraints(Plasma::ScreenConstraint);
if (containmentType() == PanelContainment) {
// our geometry on the scene may not actually change, but for the purposes of views it has
emit geometryChanged();
}
}
int Containment::screen() const