Merge pull request #56754 from madmiraal/fix-45592

This commit is contained in:
Rémi Verschelde 2022-01-24 10:05:42 +01:00 committed by GitHub
commit 57a057f7ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 16 deletions

View file

@ -3631,7 +3631,6 @@ void DisplayServerX11::process_events() {
mm->set_button_mask((MouseButton)mouse_get_button_state());
mm->set_position(pos);
mm->set_global_position(pos);
Input::get_singleton()->set_mouse_position(pos);
mm->set_velocity(Input::get_singleton()->get_last_mouse_velocity());
mm->set_relative(rel);