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:
parent
7c3cf27433
commit
7a107c9425
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user