From aaed3ef5edf605136f5554159f38ffa04b9e4998 Mon Sep 17 00:00:00 2001 From: Ranoller Date: Sat, 3 Mar 2018 03:42:38 +0100 Subject: [PATCH] FIX Windows enter/exit mouse notifications Fix to this issue #17202 (cherry picked from commit 979dccbd8dd6499474c1299b511f094d2221ed1e) --- scene/main/scene_tree.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scene/main/scene_tree.cpp b/scene/main/scene_tree.cpp index 136fd4cfd13..12c3da78bda 100644 --- a/scene/main/scene_tree.cpp +++ b/scene/main/scene_tree.cpp @@ -615,6 +615,8 @@ void SceneTree::_notification(int p_notification) { } } break; case NOTIFICATION_OS_MEMORY_WARNING: + case NOTIFICATION_WM_MOUSE_ENTER: + case NOTIFICATION_WM_MOUSE_EXIT: case NOTIFICATION_WM_FOCUS_IN: case NOTIFICATION_WM_FOCUS_OUT: {