godot/scene/main
Markus Sauermann 79727d4833
Prohibit execution of delayed input events by different means
In some cases it can happen, that the order of input events and
window events is not followed, when input buffering or input accumulation
is active.

The display server order `InputEvent` => window-event gets changed to
window-event => `InputEvent` which becomes problematic in certain
situations.

This PR makes sure, that the order is adhered to by flushing input events
before a window event is sent.
Previously this problem was mitigated by discarding these delayed events.
But this solution was problematic in the setting of android input events.

(cherry picked from commit 945babc619)
2024-04-29 10:23:25 +02:00
..
SCsub SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
canvas_item.cpp Fixes global transform being wrong on entering tree 2024-01-25 17:19:42 +01:00
canvas_item.h Remove `CanvasItem::_invalidate_global_transform` 2023-08-30 00:29:42 +02:00
canvas_layer.cpp Replace `radians` range hint with `radians_as_degrees` 2023-09-25 08:50:19 +02:00
canvas_layer.h Remove NOTIFICATION_MOVED_IN_PARENT 2023-04-06 13:57:13 +02:00
http_request.cpp Fix wait for thread not started 2023-04-27 20:28:22 +02:00
http_request.h [NET] Refactor TLS configuration. 2023-01-28 11:08:02 +01:00
instance_placeholder.cpp Copy network authority when instancing placeholder nodes. 2023-10-05 12:58:17 +01:00
instance_placeholder.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
missing_node.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
missing_node.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
multiplayer_api.cpp [MP] Fix dead code doing unnecessary allocation 2024-04-08 15:48:31 +02:00
multiplayer_api.h Use enum instead of int in virtual methods return type 2023-01-31 19:06:49 +01:00
multiplayer_peer.cpp Add missing documentation for MultiplayerPeerExtension 2023-03-20 08:08:59 -07:00
multiplayer_peer.h Extract ScriptInstance to simplify includes 2023-09-06 22:54:38 +02:00
node.cpp Fix duplicating sub-scene may get two copies of internal node 2024-03-11 22:34:53 +01:00
node.h Remove unused `NOTIFICATION_NODE_RECACHE_REQUESTED` notification 2023-11-06 12:16:32 +01:00
resource_preloader.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
resource_preloader.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
scene_tree.cpp Fix missing autocompletion for inheriting classes 2024-01-25 18:45:01 +01:00
scene_tree.h Merge pull request #78988 from RandomShaper/fix_change_scene 2023-07-26 18:39:43 +02:00
shader_globals_override.cpp Fix ShaderGlobalsOverride property handling 2023-09-22 10:21:20 +03:00
shader_globals_override.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
timer.cpp Fix auto-translations in editor 2023-03-22 23:57:12 +01:00
timer.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
viewport.cpp Fix global position for `InputEventMouse` in `viewport::push_input` 2024-03-11 15:00:43 +01:00
viewport.h fix crash on hiding grandparent on mouse exit 2024-01-25 17:03:56 +01:00
window.cpp Prohibit execution of delayed input events by different means 2024-04-29 10:23:25 +02:00
window.h [DisplayServer] Add method to estimate window title bar size. 2023-10-03 16:13:52 +03:00