godot/platform/linuxbsd
Riteo e5ac45e822 Wayland: Unsuspend only for the same reason as suspension
Before, we would check both methods together, leading to loops.

Now we track the actual reason we suspended and only unsuspend when
that same reason triggers. For example, if we suspend because of the
suspended flag we'll unsuspend only because it got unset. Conversely, if
we suspend because of a timeout we'll unsuspend only if we get a new
frame event.

We do this because, while some compositors properly report a "suspended"
state (hinting us to stop repainting), most don't and we need a "safety
net" anyways as we do not want to constantly stay at 1fps (the max time
we'll wait before giving up) either.
2025-01-08 13:53:01 +01:00
..
doc_classes Update official export templates architecture list in docs 2025-01-07 20:28:25 +07:00
export Force build editor with regex module, remove checking code. 2025-01-07 19:43:23 +08:00
wayland Wayland: Unsuspend only for the same reason as suspension 2025-01-08 13:53:01 +01:00
x11 Implement DisplayServer.window_start_resize. 2025-01-07 07:58:02 +02:00
crash_handler_linuxbsd.cpp Disable the crash handler if execinfo=no scons option is set 2024-02-18 21:42:05 +01:00
crash_handler_linuxbsd.h Set clang-format RemoveSemicolon rule to true 2024-10-25 13:49:43 -04:00
dbus-so_wrap.c [X11] Add support for dead keys without active IME. Fix IME focus and cleanup. 2023-01-30 13:31:48 +02:00
dbus-so_wrap.h [X11] Add support for dead keys without active IME. Fix IME focus and cleanup. 2023-01-30 13:31:48 +02:00
detect.py Fixed Mold-search in older systems 2024-12-28 13:49:56 +07:00
fontconfig-so_wrap.c [X11] Add support for dead keys without active IME. Fix IME focus and cleanup. 2023-01-30 13:31:48 +02:00
fontconfig-so_wrap.h [X11] Add support for dead keys without active IME. Fix IME focus and cleanup. 2023-01-30 13:31:48 +02:00
freedesktop_portal_desktop.cpp Support MIME types in file dialog filters on macOS and Linux. 2025-01-04 22:05:35 +02:00
freedesktop_portal_desktop.h Support MIME types in file dialog filters on macOS and Linux. 2025-01-04 22:05:35 +02:00
freedesktop_screensaver.cpp Check DBus loading status before attempting to detect its version 2023-05-11 19:29:10 +02:00
freedesktop_screensaver.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
godot_linuxbsd.cpp Refactor OS exit code to be EXIT_SUCCESS by default 2024-03-08 23:31:24 +01:00
joypad_linux.cpp Style: Apply new clang-format changes 2024-09-20 08:09:48 -05:00
joypad_linux.h Fix trackpads and graphics tablets being recognized as controllers on Linux/*BSD 2024-07-06 00:26:39 +02:00
libudev-so_wrap.c [X11] Add support for dead keys without active IME. Fix IME focus and cleanup. 2023-01-30 13:31:48 +02:00
libudev-so_wrap.h [X11] Add support for dead keys without active IME. Fix IME focus and cleanup. 2023-01-30 13:31:48 +02:00
os_linuxbsd.cpp Ignore case when parse /proc/cpuinfo 2024-12-06 00:19:58 +08:00
os_linuxbsd.h Wayland: suspend window after frame timeout or suspend state 2024-02-15 23:48:56 +01:00
platform_config.h [macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add EGL_ANDROID_blob_cache caching. 2023-09-21 14:21:00 +03:00
platform_gl.h [X11] Add support for using EGL/GLES instead of GLX. 2023-10-04 14:15:36 +03:00
platform_linuxbsd_builders.py Fix linux builds with debug symbols when there is a space in the path. 2024-12-05 10:31:12 -05:00
README.md Update all outdated online documentation links 2023-01-14 19:38:00 +03:00
SCsub SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
speechd-so_wrap.c [X11] Add support for dead keys without active IME. Fix IME focus and cleanup. 2023-01-30 13:31:48 +02:00
speechd-so_wrap.h [X11] Add support for dead keys without active IME. Fix IME focus and cleanup. 2023-01-30 13:31:48 +02:00
tts_linux.cpp Get rid of easily removable uses of const_cast 2024-12-01 17:50:13 -08:00
tts_linux.h Get rid of easily removable uses of const_cast 2024-12-01 17:50:13 -08:00
xkbcommon-so_wrap.c [X11] Add support for dead keys without active IME. Fix IME focus and cleanup. 2023-01-30 13:31:48 +02:00
xkbcommon-so_wrap.h [X11] Add support for dead keys without active IME. Fix IME focus and cleanup. 2023-01-30 13:31:48 +02:00

Linux/*BSD platform port

This folder contains the C++ code for the Linux/*BSD platform port.

See also misc/dist/linux folder for additional files used by this platform.

Documentation

Artwork license

logo.png is derived from the Linux logo:

Permission to use and/or modify this image is granted provided you acknowledge me lewing@isc.tamu.edu and The GIMP if someone asks.