SDL/src/core/linux
Sam Lantinga 714085d327 Fixed bug 3950 - Don't always call dbus_shutdown in SDL_DBus
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.
2018-02-13 08:07:52 -08:00
..
SDL_dbus.c Fixed bug 3950 - Don't always call dbus_shutdown in SDL_DBus 2018-02-13 08:07:52 -08:00
SDL_dbus.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_evdev_kbd_default_accents.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_evdev_kbd_default_keymap.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_evdev_kbd.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_evdev_kbd.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_evdev.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_evdev.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_fcitx.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_fcitx.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_ibus.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_ibus.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_ime.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_ime.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_udev.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_udev.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00