FIX Windows enter/exit mouse notifications

Fix to this issue #17202

(cherry picked from commit 979dccbd8d)
This commit is contained in:
Ranoller 2018-03-03 03:42:38 +01:00 committed by Hein-Pieter van Braam
parent 99cf2ffb19
commit aaed3ef5ed
1 changed files with 2 additions and 0 deletions

View File

@ -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: {