2
0
Эх сурвалжийг харах

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

Grublady 6 сар өмнө
parent
commit
f3c54c1a32

+ 2 - 0
platform/macos/display_server_macos.mm

@@ -1913,6 +1913,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) {