Fix that mouse-button-up event is parsed twice for drag-and-drop

Currently Input::get_singleton()->parse_input_event(mb); is
called twice for mouse-button-up events when dropping in a different
window on linuxbsd.
This commit is contained in:
Markus Sauermann 2022-12-05 19:31:22 +01:00
parent f87858a8f2
commit ada4761181

View file

@ -3947,7 +3947,6 @@ void DisplayServerX11::process_events() {
mb->set_window_id(window_id_other);
mb->set_position(Vector2(x, y));
mb->set_global_position(mb->get_position());
Input::get_singleton()->parse_input_event(mb);
}
break;
}