diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-01-13 19:23:42 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-01-13 19:24:28 -0300 |
commit | a97551902e24ef1ac8fd709d77a5195b73c6c1ae (patch) | |
tree | bec77c842c2398ef77bc17d4cf66d882c8ad7582 /platform/x11/os_x11.cpp | |
parent | b191ea8f02dcd0bfefcd88032ec6b2bd39fa54fc (diff) |
rename Input.get_mouse_speed() to Input.get_last_mouse_speed()
Diffstat (limited to 'platform/x11/os_x11.cpp')
-rw-r--r-- | platform/x11/os_x11.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/x11/os_x11.cpp b/platform/x11/os_x11.cpp index 9a4b19f2db..c1eb550949 100644 --- a/platform/x11/os_x11.cpp +++ b/platform/x11/os_x11.cpp @@ -1467,8 +1467,8 @@ void OS_X11::process_xevents() { input->set_mouse_pos(pos); motion_event.mouse_motion.global_x=pos.x; motion_event.mouse_motion.global_y=pos.y; - motion_event.mouse_motion.speed_x=input->get_mouse_speed().x; - motion_event.mouse_motion.speed_y=input->get_mouse_speed().y; + motion_event.mouse_motion.speed_x=input->get_last_mouse_speed().x; + motion_event.mouse_motion.speed_y=input->get_last_mouse_speed().y; motion_event.mouse_motion.relative_x=rel.x; motion_event.mouse_motion.relative_y=rel.y; |