From 394ff74f114d397be7d4a4272ea8eea42706bdb2 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Wed, 21 Mar 2012 20:39:38 +0100 Subject: [PATCH] Possible fix for undocked IM floaters getting moved by chiclets (FIRE-5459) --- indra/llui/llfloater.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/indra/llui/llfloater.cpp b/indra/llui/llfloater.cpp index b3a299769f..b9edf86396 100644 --- a/indra/llui/llfloater.cpp +++ b/indra/llui/llfloater.cpp @@ -924,7 +924,13 @@ void LLFloater::applyControlsAndPosition(LLFloater* other) if ( (!applyRectControl()) && ((!getHost()) || (mTornOff)) ) // [/SL:KB] { - applyPositioning(other); + // Don't apply position to undocked IM floater (FIRE-5459) + //applyPositioning(other); + if ((strcmp(getName().c_str(), "panel_im") != 0)) + { + applyPositioning(other); + } + // Don't apply position to undocked IM floater (FIRE-5459) } }