From 2b2fdb6cb5c81b0be650c447c1d2e48912f7b16f Mon Sep 17 00:00:00 2001 From: Ansariel Date: Fri, 12 Aug 2022 20:12:52 +0200 Subject: [PATCH] Revert "FIRE-31551: Fix aggressive switching into mouselook when pressing M" - Making room for LL fix This reverts commit 637ddfa00943d3f7ae0ae484103217104fcee1d7. --- indra/newview/llviewerwindow.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index 40ff5174a4..4c13dc7fb6 100644 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -3296,9 +3296,8 @@ BOOL LLViewerWindow::handleKey(KEY key, MASK mask) if (keyboard_focus && !gFocusMgr.getKeystrokesOnly()) { - // FIRE-31551: This causes aggressive switching into mouselook while any floater has focus - //LLUICtrl* cur_focus = dynamic_cast(keyboard_focus); - //if (cur_focus && cur_focus->acceptsTextInput()) + LLUICtrl* cur_focus = dynamic_cast(keyboard_focus); + if (cur_focus && cur_focus->acceptsTextInput()) { #ifdef LL_WINDOWS // On windows Alt Gr key generates additional Ctrl event, as result handling situations