Skip to content

modifiying mouse position doesn't work (Linux Wayland) #64296

@azur-wolve

Description

@azur-wolve

Godot version

3.5.0

System information

Linux Debian 11, Gnome 3.38.5, GLES3, Intel® HD Graphics 4400 (HSW GT2)

Issue description

Used Input.warp_mouse_position( OS.get_screen_size() / 2 ) to move the mouse to the center of the screen.

It doesn't worked. Then as its something that involves the WindowManager and I was using Wayland, switched to an X11 session..

And it just worked.

So Wayland is the problem here.

Steps to reproduce

Input.warp_mouse_position( OS.get_screen_size() / 2 )
(the mouse position wont apply)

Minimal reproduction project

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions