From 1de8306c830611d22e9d684ad1372e6f506f21af Mon Sep 17 00:00:00 2001 From: Andrey Kleshchev Date: Thu, 11 Aug 2022 23:03:14 +0300 Subject: SL-17965 Closing some floaters shifts focus to menu bar Focus root now only covers menu, status and nav bar to not steal focus from floaters This partially reverts commit 1d6bfb727a8015e82cd4060a0c73cf3fc719e818. --- indra/newview/llpanelpulldown.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'indra/newview/llpanelpulldown.cpp') diff --git a/indra/newview/llpanelpulldown.cpp b/indra/newview/llpanelpulldown.cpp index 4de6ee8182..075278f44c 100644 --- a/indra/newview/llpanelpulldown.cpp +++ b/indra/newview/llpanelpulldown.cpp @@ -51,6 +51,7 @@ void LLPanelPulldown::onMouseEnter(S32 x, S32 y, MASK mask) /*virtual*/ void LLPanelPulldown::onTopLost() { + setFocus(FALSE); // drop focus to prevent transfer to parent setVisible(FALSE); } @@ -113,6 +114,7 @@ void LLPanelPulldown::draw() if (alpha == 0.f) { + setFocus(FALSE); // drop focus to prevent transfer to parent setVisible(FALSE); } } -- cgit v1.2.3