Backport FIX mouse notifications missings ->godot2

Backport Fix to this issue #17202
This commit is contained in:
Ranoller 2018-03-03 03:52:57 +01:00 committed by GitHub
parent bc1e53e830
commit 271e031d5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

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