Browse Source

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.
Markus Sauermann 2 years ago
parent
commit
ada4761181
1 changed files with 0 additions and 1 deletions
  1. 0 1
      platform/linuxbsd/x11/display_server_x11.cpp

+ 0 - 1
platform/linuxbsd/x11/display_server_x11.cpp

@@ -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;
 							}