From 5bfe93b4ea6ed1d402fca3e40fba9ede8b45864f Mon Sep 17 00:00:00 2001 From: akleshchev <117672381+akleshchev@users.noreply.github.com> Date: Sun, 11 Dec 2022 19:08:48 +0200 Subject: SL-18159 Windows' mouse from keyboard emulation causes pointer to jump around the screen. Emulated mouse was trigering "not a valid zoomable object" case and jumping to garbage mMouseDownX/Y due to 'up' event being too early. --- indra/newview/lltoolfocus.h | 1 + 1 file changed, 1 insertion(+) (limited to 'indra/newview/lltoolfocus.h') diff --git a/indra/newview/lltoolfocus.h b/indra/newview/lltoolfocus.h index cfc235b6c2..6615193318 100644 --- a/indra/newview/lltoolfocus.h +++ b/indra/newview/lltoolfocus.h @@ -65,6 +65,7 @@ protected: BOOL mOutsideSlopX; BOOL mOutsideSlopY; BOOL mValidClickPoint; + bool mClickPickPending; BOOL mValidSelection; BOOL mMouseSteering; S32 mMouseUpX; // needed for releaseMouse() -- cgit v1.2.3 From f60f12d94ebe3862f5b1eef55795dabc0ba72693 Mon Sep 17 00:00:00 2001 From: Andrey Kleshchev Date: Sun, 12 Feb 2023 21:52:06 +0200 Subject: SL-19119 Fix mouse steering --- indra/newview/lltoolfocus.h | 1 + 1 file changed, 1 insertion(+) (limited to 'indra/newview/lltoolfocus.h') diff --git a/indra/newview/lltoolfocus.h b/indra/newview/lltoolfocus.h index 6615193318..ef71f9230a 100644 --- a/indra/newview/lltoolfocus.h +++ b/indra/newview/lltoolfocus.h @@ -49,6 +49,7 @@ public: virtual LLTool* getOverrideTool(MASK mask) { return NULL; } + void setClickPickPending() { mClickPickPending = true; } static void pickCallback(const LLPickInfo& pick_info); BOOL mouseSteerMode() { return mMouseSteering; } -- cgit v1.2.3