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
crash_handler_linuxbsd.h
dbus-so_wrap.c
dbus-so_wrap.h
detect.py Fixed Mold-search in older systems 2024-12-28 13:49:56 +07:00
fontconfig-so_wrap.c
fontconfig-so_wrap.h
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
freedesktop_screensaver.h
godot_linuxbsd.cpp
joypad_linux.cpp
joypad_linux.h
libudev-so_wrap.c
libudev-so_wrap.h
os_linuxbsd.cpp
os_linuxbsd.h
platform_config.h
platform_gl.h
platform_linuxbsd_builders.py
README.md
SCsub
speechd-so_wrap.c
speechd-so_wrap.h
tts_linux.cpp
tts_linux.h
xkbcommon-so_wrap.c
xkbcommon-so_wrap.h

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.