Merge pull request #105822 from bruvzg/mm_update_enter

[macOS] Update entered state from `mouseMoved`.
This commit is contained in:
Thaddeus Crews 2025-05-05 11:24:15 -05:00
commit c40c56b406
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC

View file

@ -532,6 +532,11 @@
mm->set_relative_screen_position(relativeMotion);
ds->get_key_modifier_state([event modifierFlags], mm);
const NSRect contentRect = [wd.window_view frame];
if (NSPointInRect([event locationInWindow], contentRect)) {
ds->mouse_enter_window(window_id);
}
Input::get_singleton()->parse_input_event(mm);
}