diff options
author | Juan Linietsky <juan@godotengine.org> | 2020-03-01 19:14:37 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2020-03-26 15:49:32 +0100 |
commit | 4396e98834f159da59ec790f2ff64fb65dacd9ce (patch) | |
tree | d618e96d7a7b856260fd96e5e727f38a26de0724 /scene/main/scene_tree.cpp | |
parent | a2da99f40cf2123c0906c734a2eb01e9b65a45a2 (diff) | |
download | redot-engine-4396e98834f159da59ec790f2ff64fb65dacd9ce.tar.gz |
Refactored Input, create DisplayServer and DisplayServerX11
Diffstat (limited to 'scene/main/scene_tree.cpp')
-rw-r--r-- | scene/main/scene_tree.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/main/scene_tree.cpp b/scene/main/scene_tree.cpp index f472de220b..b7b2f190b3 100644 --- a/scene/main/scene_tree.cpp +++ b/scene/main/scene_tree.cpp @@ -31,6 +31,7 @@ #include "scene_tree.h" #include "core/debugger/engine_debugger.h" +#include "core/input/input.h" #include "core/io/marshalls.h" #include "core/io/resource_loader.h" #include "core/message_queue.h" @@ -39,7 +40,6 @@ #include "core/os/os.h" #include "core/print_string.h" #include "core/project_settings.h" -#include "main/input_default.h" #include "node.h" #include "scene/debugger/scene_debugger.h" #include "scene/resources/dynamic_font.h" @@ -668,7 +668,7 @@ void SceneTree::_notification(int p_notification) { case NOTIFICATION_WM_FOCUS_IN: { - InputDefault *id = Object::cast_to<InputDefault>(Input::get_singleton()); + Input *id = Input::get_singleton(); if (id) { id->ensure_touch_mouse_raised(); } |