godot/core/os
Jamie Pate b18e1e0dcd Fix Game window stops responding when debugger pauses
Fixes #73374

As of godot 4 On windows/osx the game window will be frozen and will not
be updated.

In the debugger loop it calls

OS::get_singleton()->process_and_drop_events();
which allows windows/osx to handle system events. If the window doesn't
handle these events then both systems will judge the window to be 'not
responding' (osx beachball cursor)

When the event processing code was migrated from OS to DisplayServer the
process_and_drop_events() logic was moved to DisplayServer, but the call
inside the remote debugger pause loop was not updated to call the
DisplayServer version, there are currently no implementations of
OS::process_and_drop_events() so i removed it and switched to the new
DisplayServer::force_process_and_drop_events() method.
2024-07-10 13:38:57 -07:00
..
SCsub
condition_variable.h Enforce template syntax `typename` over `class` 2024-03-07 22:39:09 -06:00
keyboard.cpp Add const references detected by clang-tidy 2023-12-16 13:36:44 -05:00
keyboard.h Add InputEventKey.location to tell left from right 2024-01-26 14:42:28 +01:00
main_loop.cpp Merge pull request #70771 from kleonc/main-loop-set-after-resolved 2023-07-12 17:15:59 +02:00
main_loop.h Fixed Timestep Interpolation (2D) 2024-03-23 12:28:36 +01:00
memory.cpp [Core] Improve `CowData` and `Memory` metadata alignment. 2024-02-05 17:30:02 +02:00
memory.h Enforce template syntax `typename` over `class` 2024-03-07 22:39:09 -06:00
midi_driver.cpp Move MIDI parsing up from ALSA driver to platform independent driver. 2024-06-25 16:46:30 +01:00
midi_driver.h Move MIDI parsing up from ALSA driver to platform independent driver. 2024-06-25 16:46:30 +01:00
mutex.cpp Add THREADS_ENABLED macro in order to compile Godot to run on the main thread 2024-01-17 13:58:29 -05:00
mutex.h Enforce template syntax `typename` over `class` 2024-03-07 22:39:09 -06:00
os.cpp Prevent folder names with trailing periods from being used automatically 2024-06-26 17:42:47 +02:00
os.h Fix Game window stops responding when debugger pauses 2024-07-10 13:38:57 -07:00
pool_allocator.cpp Update lingering `do/while(0)` defines 2024-04-04 14:17:22 -05:00
pool_allocator.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
rw_lock.h Use mingw-std-threads in MinGW builds 2023-11-18 11:56:05 +01:00
safe_binary_mutex.h Extract 'SafeBinaryMutex' to separate header 2024-02-04 16:59:54 +01:00
semaphore.h Add THREADS_ENABLED macro in order to compile Godot to run on the main thread 2024-01-17 13:58:29 -05:00
shared_object.h Fix loading GDExtension dependencies on Android 2024-04-19 07:55:08 -07:00
spin_lock.h Use `os_unfair_lock` on Apple platforms 2024-01-21 06:23:09 +11:00
thread.cpp Add THREADS_ENABLED macro in order to compile Godot to run on the main thread 2024-01-17 13:58:29 -05:00
thread.h Add THREADS_ENABLED macro in order to compile Godot to run on the main thread 2024-01-17 13:58:29 -05:00
thread_safe.cpp Allow threads to mark themselves as safe for nodes 2023-05-24 00:22:58 +02:00
thread_safe.h Allow threads to mark themselves as safe for nodes 2023-05-24 00:22:58 +02:00
time.cpp Add const lvalue ref to core/* container parameters 2024-02-14 11:20:36 -03:00
time.h Add const lvalue ref to core/* container parameters 2024-02-14 11:20:36 -03:00
time_enums.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00