1
0
Fork 0
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
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
http_request.cpp
http_request.h
instance_placeholder.cpp Copy network authority when instancing placeholder nodes. 2023-10-05 12:58:17 +01:00
instance_placeholder.h
missing_node.cpp
missing_node.h
multiplayer_api.cpp [MP] Fix dead code doing unnecessary allocation 2024-04-08 15:48:31 +02:00
multiplayer_api.h
multiplayer_peer.cpp
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
resource_preloader.h
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
timer.cpp
timer.h
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