diff options
| author | Ranoller | 2018-03-03 03:42:38 +0100 |
|---|---|---|
| committer | Hein-Pieter van Braam | 2018-04-14 20:25:57 +0200 |
| commit | aaed3ef5edf605136f5554159f38ffa04b9e4998 (patch) | |
| tree | 17c53fdc094d12d6c8cfa406e8f896e8073c79f5 | |
| parent | 99cf2ffb193840d562562fde612ac9a3a7bf97c5 (diff) | |
| download | godot-aaed3ef5edf605136f5554159f38ffa04b9e4998.tar.gz godot-aaed3ef5edf605136f5554159f38ffa04b9e4998.tar.zst godot-aaed3ef5edf605136f5554159f38ffa04b9e4998.zip | |
FIX Windows enter/exit mouse notifications
Fix to this issue #17202
(cherry picked from commit 979dccbd8dd6499474c1299b511f094d2221ed1e)
| -rw-r--r-- | scene/main/scene_tree.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/main/scene_tree.cpp b/scene/main/scene_tree.cpp index 136fd4cfd..12c3da78b 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: { |
