mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 07:53:26 +00:00
Update mouse-entered state when subwindow closes (macOS display server)
(cherry picked from commit f3c54c1a32
)
This commit is contained in:
parent
6e298f2b95
commit
52e84ae83e
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue