Update mouse-entered state when subwindow closes (macOS display server)

(cherry picked from commit f3c54c1a32)
This commit is contained in:
Grublady 2025-03-18 15:25:03 -04:00 committed by Rémi Verschelde
parent 6e298f2b95
commit 52e84ae83e
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -1901,6 +1901,8 @@ void DisplayServerMacOS::delete_sub_window(WindowID p_id) {
[wd.window_object setContentView:nil];
[wd.window_object close];
mouse_enter_window(get_window_at_screen_position(mouse_get_position()));
}
void DisplayServerMacOS::window_set_rect_changed_callback(const Callable &p_callable, WindowID p_window) {