Merge pull request #17206 from Ranoller/patch-4

Backport FIX mouse notifications missings ->godot2
This commit is contained in:
Rémi Verschelde 2018-03-06 10:16:27 +01:00 committed by GitHub
commit 15aa6e2ce7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -566,6 +566,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: {