Possible fix for undocked IM floaters getting moved by chiclets (FIRE-5459)

Ansariel 2012-03-21 20:39:38 +01:00
parent 7e09a2d8a4
commit 394ff74f11
1 changed files with 7 additions and 1 deletions

View File

@ -924,7 +924,13 @@ void LLFloater::applyControlsAndPosition(LLFloater* other)
if ( (!applyRectControl()) && ((!getHost()) || (mTornOff)) )
// [/SL:KB]
{
applyPositioning(other);
// <FS:Ansariel> Don't apply position to undocked IM floater (FIRE-5459)
//applyPositioning(other);
if ((strcmp(getName().c_str(), "panel_im") != 0))
{
applyPositioning(other);
}
// </FS:Ansariel> Don't apply position to undocked IM floater (FIRE-5459)
}
}