When we start dragging a window (after click and hold the title bar), it crashes every time. It was because of a stack overflow.
The OS.get_window_position() somewhat triggered an _input event, effectively calling itself.
I added a semaphore to block subsequent event triggers.
Tested on Godot 3.5 macOS Monterey intel.
When we start dragging a window (after click and hold the title bar), it crashes every time. It was because of a stack overflow. The
OS.get_window_position()
somewhat triggered an_input
event, effectively calling itself. I added a semaphore to block subsequent event triggers. Tested on Godot 3.5 macOS Monterey intel.