summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-03-06 10:16:01 +0100
committerGitHub <noreply@github.com>2018-03-06 10:16:01 +0100
commit2efd7add4a947b2b5dcab072d1f8ee297735088e (patch)
tree76ef9ebf8793e76f768e211910556b2884ed66f9 /scene
parent91ed6787088f888e196331915d59154ef2a6ce58 (diff)
parent979dccbd8dd6499474c1299b511f094d2221ed1e (diff)
Merge pull request #17205 from Ranoller/patch-3
FIX Windows enter/exit mouse notifications
Diffstat (limited to 'scene')
-rw-r--r--scene/main/scene_tree.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/main/scene_tree.cpp b/scene/main/scene_tree.cpp
index 136fd4cfd1..12c3da78bd 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: {