Skip to content

Commit

Permalink
Follow up to godotengine/godot#76400 to fix input ANR in the Godot An…
Browse files Browse the repository at this point in the history
…droid editor
  • Loading branch information
m4gr3d authored and Relintai committed Jun 11, 2023
1 parent 1225aa2 commit 2b79cd7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main/input_default.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,7 @@ bool InputDefault::is_emulating_touch_from_mouse() const {
// Calling this whenever the game window is focused helps unstucking the "touch mouse"
// if the OS or its abstraction class hasn't properly reported that touch pointers raised
void InputDefault::ensure_touch_mouse_raised() {
_THREAD_SAFE_METHOD_
if (mouse_from_touch_index != -1) {
mouse_from_touch_index = -1;

Expand Down

0 comments on commit 2b79cd7

Please sign in to comment.