mirror of
https://github.com/yawut/SDL.git
synced 2026-06-21 11:59:49 -05:00
Alexander Larsson dbus_shutdown() is a debug feature which closes all global resources in the dbus library. Calling this should be done by the app, not a library, because if there are multiple users of dbus in the process then SDL could shut it down even though another part is using it. For example, i had an issue with this in mGBA, which uses both Qt and SDL, both using libdbus. I had a session bus, but no system bus (this was in a flatpak sandbox), and when SDL_DBus_Init() failed to init the system bus it called dbus_shudown() and continued on. This caused issues for Qt when running due to its session bus connections having disappeared beneath it. |
||
|---|---|---|
| .. | ||
| SDL_dbus.c | ||
| SDL_dbus.h | ||
| SDL_evdev_kbd_default_accents.h | ||
| SDL_evdev_kbd_default_keymap.h | ||
| SDL_evdev_kbd.c | ||
| SDL_evdev_kbd.h | ||
| SDL_evdev.c | ||
| SDL_evdev.h | ||
| SDL_fcitx.c | ||
| SDL_fcitx.h | ||
| SDL_ibus.c | ||
| SDL_ibus.h | ||
| SDL_ime.c | ||
| SDL_ime.h | ||
| SDL_udev.c | ||
| SDL_udev.h | ||