summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorPaul Guslisty <pguslisty@productengine.com>2010-03-03 09:47:58 +0200
committerPaul Guslisty <pguslisty@productengine.com>2010-03-03 09:47:58 +0200
commit9272037c9d382c210b48379a209d89502ff48dd0 (patch)
tree0f38bad9039ab7483a49cc3773093499500aed92 /indra/llui
parent7dc4ced31fda22dc4b39cf7dec55ba995d6e0ca7 (diff)
Fixed normal bug EXT - 4572 (Click and hold the left mouse button doesn't let you browse tabbed IM floater)
- Set mouse capture to the tab container in case of some control \"grab\" it during mouse hovering over tab container. --HG-- branch : product-engine
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/lltabcontainer.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/llui/lltabcontainer.cpp b/indra/llui/lltabcontainer.cpp
index 30fc7babae..1dcfb4e296 100644
--- a/indra/llui/lltabcontainer.cpp
+++ b/indra/llui/lltabcontainer.cpp
@@ -2061,5 +2061,12 @@ void LLTabContainer::commitHoveredButton(S32 x, S32 y)
tuple->mButton->onCommit();
}
}
+ /**
+ * EXT - 4572 (Click and hold the left mouse button doesn't let you browse tabbed IM floater)
+ *
+ * During hovering mouse(with left mouse button hold) over tabs, a newly just activated corresponding
+ * to the tab(that is hovered in the given instant of time) panel may caught mouse capture.
+ */
+ gFocusMgr.setMouseCapture(this);
}
}