|
@@ -340,9 +340,11 @@ void Window::_event_callback(DisplayServer::WindowEvent p_event) {
|
|
|
case DisplayServer::WINDOW_EVENT_MOUSE_ENTER: {
|
|
|
_propagate_window_notification(this, NOTIFICATION_WM_MOUSE_ENTER);
|
|
|
emit_signal(SNAME("mouse_entered"));
|
|
|
+ notification(NOTIFICATION_VP_MOUSE_ENTER);
|
|
|
DisplayServer::get_singleton()->cursor_set_shape(DisplayServer::CURSOR_ARROW); //restore cursor shape
|
|
|
} break;
|
|
|
case DisplayServer::WINDOW_EVENT_MOUSE_EXIT: {
|
|
|
+ notification(NOTIFICATION_VP_MOUSE_EXIT);
|
|
|
_propagate_window_notification(this, NOTIFICATION_WM_MOUSE_EXIT);
|
|
|
emit_signal(SNAME("mouse_exited"));
|
|
|
} break;
|