diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-01-11 11:33:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-11 11:33:59 +0100 |
commit | 46624388d48379350ca9b9020bc55eef61102145 (patch) | |
tree | 14cc974237b03d04419ff0307403bf47cd527a81 /platform/linuxbsd | |
parent | f20ae16e0ba22c317e798939581582f15475f170 (diff) | |
parent | 3105d9b1f35959f70975fd6de034b9168cd3b337 (diff) |
Merge pull request #56322 from madmiraal/fix-42450
Diffstat (limited to 'platform/linuxbsd')
-rw-r--r-- | platform/linuxbsd/display_server_x11.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/linuxbsd/display_server_x11.cpp b/platform/linuxbsd/display_server_x11.cpp index 68bd5e8421..747b5beeda 100644 --- a/platform/linuxbsd/display_server_x11.cpp +++ b/platform/linuxbsd/display_server_x11.cpp @@ -3648,7 +3648,7 @@ void DisplayServerX11::process_events() { mm->set_position(pos); mm->set_global_position(pos); Input::get_singleton()->set_mouse_position(pos); - mm->set_speed(Input::get_singleton()->get_last_mouse_speed()); + mm->set_velocity(Input::get_singleton()->get_last_mouse_velocity()); mm->set_relative(rel); @@ -3678,7 +3678,7 @@ void DisplayServerX11::process_events() { mm->set_window_id(E.key); mm->set_position(pos_focused); mm->set_global_position(pos_focused); - mm->set_speed(Input::get_singleton()->get_last_mouse_speed()); + mm->set_velocity(Input::get_singleton()->get_last_mouse_velocity()); Input::get_singleton()->parse_input_event(mm); break; |