mirror of
https://github.com/godotengine/godot.git
synced 2024-11-26 14:13:10 +00:00
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
Block a user