mirror of https://github.com/godotengine/godot
Merge pull request #104328 from Grublady/popup-mouse-enter
Update mouse-entered state when subwindow closes (macOS display server)
This commit is contained in:
commit
0648f55276
|
|
@ -1921,6 +1921,8 @@ void DisplayServerMacOS::delete_sub_window(WindowID p_id) {
|
||||||
|
|
||||||
[wd.window_object setContentView:nil];
|
[wd.window_object setContentView:nil];
|
||||||
[wd.window_object close];
|
[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) {
|
void DisplayServerMacOS::window_set_rect_changed_callback(const Callable &p_callable, WindowID p_window) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue