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:
parent
f87858a8f2
commit
ada4761181
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue