Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mouse still moving despite captured on wayland, only hidden within window frame #91577

Open
foolmetuljakut opened this issue May 5, 2024 · 0 comments

Comments

@foolmetuljakut
Copy link

Tested versions

Godot version: v4.2.2.stable.fedora [15073af]

System information

Godot version: v4.2.2.stable.fedora [15073af] OS: Fedora Linux 40 (Workstation Edition)

Issue description

Observation:

when using

func _ready():
	Input.mouse_mode = Input.MOUSE_MODE_CAPTURED

the mouse hides as expected but can be moved outside the window until it hits the screen boundary.

  • look-around-motion is smooth while within the screen but gets cut off at the boundary.
  • mouse reappears outside the window frame

SystemInformation:

Godot version: v4.2.2.stable.fedora [15073af]
OS: Fedora Linux 40 (Workstation Edition)

echo $XDG_SESSION_TYPE
wayland

Steps to reproduce

hit play, move mouse to look around

  • bump cursor into screen boundary
  • move mouse outside of window frame

Minimal reproduction project (MRP)

fpsController.tar.gz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants