FIX Windows enter/exit mouse notifications

Fix to this issue #17202
This commit is contained in:
Ranoller 2018-03-03 03:42:38 +01:00 committed by GitHub
parent 04345d2557
commit 979dccbd8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -615,6 +615,8 @@ void SceneTree::_notification(int p_notification) {
} }
} break; } break;
case NOTIFICATION_OS_MEMORY_WARNING: case NOTIFICATION_OS_MEMORY_WARNING:
case NOTIFICATION_WM_MOUSE_ENTER:
case NOTIFICATION_WM_MOUSE_EXIT:
case NOTIFICATION_WM_FOCUS_IN: case NOTIFICATION_WM_FOCUS_IN:
case NOTIFICATION_WM_FOCUS_OUT: { case NOTIFICATION_WM_FOCUS_OUT: {