SDL/src/core
Ludovico de Nittis 379d478055 dbus: guard against uninitialized D-Bus
Before calling any D-Bus related methods we should first ensure that
they
were correctly loaded.

In the event where `LoadDBUSLibrary()` was not able to load the D-Bus
library, we should just return early, signalling with SDL_FALSE that we
were unable to inhibit the Screensaver.

Helps: https://github.com/ValveSoftware/steam-for-linux/issues/8815

Signed-off-by: Ludovico de Nittis <ludovico.denittis@collabora.com>
2022-09-28 10:29:55 -04:00
..
android Refactored code to send scancodes for an ASCII on-screen keyboard key 2022-06-29 17:26:09 -07:00
freebsd Updated copyright for 2022 2022-01-03 09:40:21 -08:00
gdk Windows GDK Support (#5830) 2022-06-27 10:19:39 -07:00
linux dbus: guard against uninitialized D-Bus 2022-09-28 10:29:55 -04:00
openbsd wscons: Make USB keyboard input layout independent 2022-02-18 09:30:04 -08:00
os2 os2, geniconv: default functions pointers to Uni*() API, 2022-01-21 11:50:40 +03:00
unix Updated copyright for 2022 2022-01-03 09:40:21 -08:00
windows SDL_windows.h: guard WIN32_LEAN_AND_MEAN and STRICT macro defines. 2022-09-16 17:28:20 +03:00
winrt use SDL_InvalidParamError or SDL_assert instead of custom SDL_SetError 2022-01-28 20:40:19 -05:00