From 31346211f2c9a37e0b5226e2fd4090a55c98d3bc Mon Sep 17 00:00:00 2001 From: Markus Sauermann <6299227+Sauermann@users.noreply.github.com> Date: Sat, 7 Jan 2023 12:21:45 +0100 Subject: Fix doc for position of captured mouse The position is not at the center of the screen but of the window. --- doc/classes/DisplayServer.xml | 2 +- doc/classes/Input.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/classes') diff --git a/doc/classes/DisplayServer.xml b/doc/classes/DisplayServer.xml index 29135376c5..b4c28e81c6 100644 --- a/doc/classes/DisplayServer.xml +++ b/doc/classes/DisplayServer.xml @@ -1512,7 +1512,7 @@ Makes the mouse cursor hidden if it is visible. - Captures the mouse. The mouse will be hidden and its position locked at the center of the screen. + Captures the mouse. The mouse will be hidden and its position locked at the center of the window manager's window. [b]Note:[/b] If you want to process the mouse's movement in this mode, you need to use [member InputEventMouseMotion.relative]. diff --git a/doc/classes/Input.xml b/doc/classes/Input.xml index be8c8ff83f..97061d8efa 100644 --- a/doc/classes/Input.xml +++ b/doc/classes/Input.xml @@ -397,7 +397,7 @@ Makes the mouse cursor hidden if it is visible. - Captures the mouse. The mouse will be hidden and its position locked at the center of the screen. + Captures the mouse. The mouse will be hidden and its position locked at the center of the window manager's window. [b]Note:[/b] If you want to process the mouse's movement in this mode, you need to use [member InputEventMouseMotion.relative]. -- cgit v1.2.3